SourceFile
© 2011-2012 JDB Labs LLC |
package com.jdblabs.jlp.ast |
The top-level AST element. This represents a source file. |
public class SourceFile { |
The source file gets split into two parts during the initial parsing by the PEG grammer: a list of documentation blocks and a list of code blocks. Both are stored in the |
|
A list of the blocks in this |
public List<ASTNode> blocks = [] |
The result from parsing the code in this source file. Currently there are no language-specific parsers and this is always |
public def codeAST |
The id for this source file, currently set to the path name for the input file relative to the input root. |
public String id } |