Skip to content

tour_printer ​

Source: src/third_party/FoXy/docs/examples/snippets/tour.f90

Dependencies

Contents ​

Derived Types ​

printer ​

Inheritance

Extends: xml_handler

Components ​

NameTypeAttributesDescription
levelinteger(kind=I4P)
posinteger(kind=I8P)

Type-Bound Procedures ​

NameAttributesDescription
cdatapass(self)
commentpass(self)
processing_instructionpass(self)
doctypepass(self)
problempass(self)
parsepass(self)
stop_parsingpass(self)
start_element
characters
end_element

Subroutines ​

on_start ​

fortran
subroutine on_start(self, name, attributes)

Arguments

NameTypeIntentAttributesDescription
selfclass(printer)inout
namecharacter(len=*)in
attributestype(xml_attribute)in

on_text ​

fortran
subroutine on_text(self, text)

Arguments

NameTypeIntentAttributesDescription
selfclass(printer)inout
textcharacter(len=*)in

on_end ​

fortran
subroutine on_end(self, name)

Arguments

NameTypeIntentAttributesDescription
selfclass(printer)inout
namecharacter(len=*)in