Class StringAnalyzer3.TokenAttribute

java.lang.Object
one.empty3.library1.tree.StringAnalyzer3.Token
one.empty3.library1.tree.StringAnalyzer3.TokenAttribute
Enclosing class:
StringAnalyzer3

public class StringAnalyzer3.TokenAttribute extends StringAnalyzer3.Token
  • Field Details

    • name

      protected String name
  • Constructor Details

    • TokenAttribute

      public TokenAttribute(String version)
  • Method Details

    • getRequiredName

      public String getRequiredName()
    • getAttributeName

      public String getAttributeName()
    • getAttributeValue

      public String getAttributeValue()
    • parse

      public int parse(String input, int position)
      Description copied from class: StringAnalyzer3.Token
      Parses the input string starting from the given position and skips over any blank spaces.
      Parameters:
      input - the input string
      position - the starting position
      Returns:
      the new position after skipping the blank spaces
    • copy

      Description copied from class: StringAnalyzer3.Token
      Creates a copy of the current Token object.
      Returns:
      a new Token object that is a copy of the current Token (further step: make a deep copy with nextTokens and Token type fields.
    • setName

      public void setName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class StringAnalyzer3.Token