# Package com.singularsys.jep.misc.lineNumbering

Classes to allow line and column number information to stored in nodes.

See: Description

- Class Summary
  Class | Description
  --- | ---
  LineNumberingNodeFactory | A NodeFactory which adds line numbering information to nodes.
  LineNumberingShuntingYard | Version of the shunting yard algorithm which sets lines numbers in the parse tree.
  LineNumberingShuntingYard.LineNumberGrammarParserFactory |

- Enum Summary
  Enum | Description
  --- | ---
  LineNumberingNodeFactory.Numbering |

## Package com.singularsys.jep.misc.lineNumbering Description

Classes to allow line and column number information to stored in nodes. The `LineNumberingNodeFactory` stores line number information in nodes when they are created and the `LineNumberingShuntingYard` is part of the `ConfigurableParser` which stores line numbers during parsing. To setup you can use

    Jep jep = new Jep(
      new StandardConfigurableParser(),
      new LineNumberingNodeFactory(),
      new LineNumberingShuntingYard.LineNumberGrammarParserFactory());

Line numbering starts from line 1 column 1.

Copyright © 2018 Singular Systems http://www.singularsys.com/jep