Class SyntaxElement

java.lang.Object
com.prineside.luaj.ast.SyntaxElement
Direct Known Subclasses:
Chunk, Exp, FuncArgs, FuncBody, FuncName, ParList, Stat, TableField

public class SyntaxElement extends Object
Base class for syntax elements of the parse tree that appear in source files. The LuaParser class will fill these values out during parsing for use in syntax highlighting, for example.
  • Field Details

    • beginLine

      public int beginLine
      The line number on which the element begins.
    • beginColumn

      public short beginColumn
      The column at which the element begins.
    • endLine

      public int endLine
      The line number on which the element ends.
    • endColumn

      public short endColumn
      The column at which the element ends.
  • Constructor Details

    • SyntaxElement

      public SyntaxElement()