Class Reducer.PragsVisitor

java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.umod.absy.Visitor
eu.bandm.tools.umod.Reducer.PragsVisitor
All Implemented Interfaces:
PCDataVisitor
Enclosing class:
Reducer

protected class Reducer.PragsVisitor extends eu.bandm.tools.umod.absy.Visitor
Reduces pragma codes. The syntax is <!ELEMENT pragmas (ident_upper|pragarg)*> <!ELEMENT pragarg (smallpositive, smallpositive?)>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
     
    (package private) boolean
     
    (package private) boolean
     
    (package private) boolean
     
    (package private) boolean
     

    Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor

    validating
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    putpragma(Location<XMLDocumentIdentifier> loc, int key, Integer position)
     
    void
    visit(eu.bandm.tools.umod.absy.Element_ident_upper e0)
     
    void
    visit(eu.bandm.tools.umod.absy.Element_pragarg e0)
     

    Methods inherited from class eu.bandm.tools.umod.absy.Visitor

    visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit

    Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor

    visit

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pragisvisitor

      boolean pragisvisitor
    • pragiskey

      boolean pragiskey
    • pragisconstructor

      boolean pragisconstructor
    • numfound

      boolean numfound
    • firstnumber

      int firstnumber
  • Constructor Details

    • PragsVisitor

      protected PragsVisitor()
  • Method Details

    • visit

      public void visit(eu.bandm.tools.umod.absy.Element_ident_upper e0)
      Overrides:
      visit in class eu.bandm.tools.umod.absy.Visitor
    • visit

      public void visit(eu.bandm.tools.umod.absy.Element_pragarg e0)
      Overrides:
      visit in class eu.bandm.tools.umod.absy.Visitor
    • putpragma

      public void putpragma(Location<XMLDocumentIdentifier> loc, int key, Integer position)