- GenericParser - Class in org.snt.inmemantlr
-
generic parser - an antlr parser representation
- GenericParser(ToolCustomizer, String...) - Constructor for class org.snt.inmemantlr.GenericParser
-
constructor
- GenericParser(String...) - Constructor for class org.snt.inmemantlr.GenericParser
-
constructor
- GenericParser(ToolCustomizer, File...) - Constructor for class org.snt.inmemantlr.GenericParser
-
constructor
- GenericParser(File...) - Constructor for class org.snt.inmemantlr.GenericParser
-
File was not found
- GenericParser(ToolCustomizer, boolean, String...) - Constructor for class org.snt.inmemantlr.GenericParser
-
constructor
- GenericParserSerialize - Class in org.snt.inmemantlr.memobjects
-
an object that is used for serializing a generic
parser that is already compiled
- GenericParserSerialize(MemoryTupleSet, String, String) - Constructor for class org.snt.inmemantlr.memobjects.GenericParserSerialize
-
constructor
- getAllCompiledObjects() - Method in class org.snt.inmemantlr.comp.StringCompiler
-
get all compiled antlr objects (lexer, parser, etc) in source and bytecode format
- getAllCompiledObjects() - Method in class org.snt.inmemantlr.GenericParser
-
get all compiled antlr objects (lexer, parser, etc) in source and bytecode format
- getAst() - Method in class org.snt.inmemantlr.listener.DefaultTreeListener
-
get ast
- getBaseListener() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get base listener
- getBaseListenerName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get base listener name
- getBaseVisitor() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get base visitor
- getBaseVisitorName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get base visitor name
- getByteCodeObjects() - Method in class org.snt.inmemantlr.memobjects.MemoryTuple
-
get byte code
- getBytes() - Method in class org.snt.inmemantlr.memobjects.MemoryByteCode
-
return byte code as byte sequence
- getCharContent(boolean) - Method in class org.snt.inmemantlr.memobjects.MemoryByteCode
-
get byte code content as character sequence
- getCharContent(boolean) - Method in class org.snt.inmemantlr.memobjects.MemorySource
-
get character content
- getChild(int) - Method in class org.snt.inmemantlr.tree.AstNode
-
get child with index i
- getChildren() - Method in class org.snt.inmemantlr.tree.AstNode
-
get List of children
- getClassName() - Method in class org.snt.inmemantlr.memobjects.MemoryByteCode
-
return the class name of this object
- getClassName() - Method in class org.snt.inmemantlr.memobjects.MemorySource
-
- getClassName() - Method in class org.snt.inmemantlr.memobjects.MemoryTuple
-
return class name
- getClassPath() - Method in class org.snt.inmemantlr.comp.StringCompiler
-
- getCompilationUnits() - Method in class org.snt.inmemantlr.tool.InmemantlrTool
-
get compilation units, i.e.
- getDepTokVocName(Grammar) - Method in class org.snt.inmemantlr.tool.InmemantlrTool
-
return name of token vocab if imported by grammar g
- getDominatingSubtrees(Predicate<AstNode>) - Method in class org.snt.inmemantlr.tree.Ast
-
find dominant subtrees, i.e., subtrees where the distance of the subtree root
node to the ast root node is minimal.
- getElement(AstNode) - Method in class org.snt.inmemantlr.tree.AstProcessor
-
helper function
- getEscapedLabel() - Method in class org.snt.inmemantlr.tree.AstNode
-
get label where special chars are escaped
- getFirst() - Method in class org.snt.inmemantlr.utils.Tuple
-
- getFirstChild() - Method in class org.snt.inmemantlr.tree.AstNode
-
get first child (note that nodes are ordered in their appearance)
- getG() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get grammar
- getId() - Method in class org.snt.inmemantlr.tree.AstNode
-
gt identifier
- getItems() - Method in interface org.snt.inmemantlr.comp.CunitProvider
-
provide items to compile
- getItems() - Method in class org.snt.inmemantlr.comp.FileProvider
-
- getItems() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
- getLabel() - Method in class org.snt.inmemantlr.tree.AstNode
-
get label
- getLastChild() - Method in class org.snt.inmemantlr.tree.AstNode
-
get last child (note that nodes are ordered in their appearance)
- getLeafs() - Method in class org.snt.inmemantlr.tree.Ast
-
get leaf nodes
- getLexer() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get lexer
- getLexerName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get lexer name
- getLexerName() - Method in class org.snt.inmemantlr.memobjects.GenericParserSerialize
-
- getListener() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get listener
- getListener() - Method in class org.snt.inmemantlr.GenericParser
-
get parse tree listener
- getListenerName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get listener name
- getMemoryTupleSet() - Method in class org.snt.inmemantlr.memobjects.GenericParserSerialize
-
- getNodes() - Method in class org.snt.inmemantlr.listener.DefaultTreeListener
-
get ast nodes
- getNodes() - Method in class org.snt.inmemantlr.tree.Ast
-
get all nodes
- getPackagePrefix() - Method in class org.snt.inmemantlr.tool.InmemantlrTool
-
return package prefix if configured by user
- getParent() - Method in class org.snt.inmemantlr.tree.AstNode
-
get parent node
- getParser() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get parser
- getParserName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get parser name
- getParserName() - Method in class org.snt.inmemantlr.memobjects.GenericParserSerialize
-
- getPipelines() - Method in class org.snt.inmemantlr.tool.InmemantlrTool
-
get string code generation pipelines in-order (based on imported
token vocab)
- getResult() - Method in class org.snt.inmemantlr.tree.AstProcessor
-
get processing result
- getRoot() - Method in class org.snt.inmemantlr.tree.Ast
-
get root node
- getRule() - Method in class org.snt.inmemantlr.tree.AstNode
-
get non-terminal rule of that node
- getRuleByKey(int) - Method in class org.snt.inmemantlr.listener.DefaultListener
-
maps rule index to its actual name
- getSecond() - Method in class org.snt.inmemantlr.utils.Tuple
-
- getSource() - Method in class org.snt.inmemantlr.memobjects.MemoryTuple
-
get source code
- getStringFromStream(InputStream) - Static method in class org.snt.inmemantlr.utils.FileUtils
-
load input stream
- getSubtree(Ast) - Method in class org.snt.inmemantlr.tree.Ast
-
get subtree
- getSubtrees(Predicate<AstNode>) - Method in class org.snt.inmemantlr.tree.Ast
-
get subtree with the root node identified by p
- getTokenVocab() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
- getTokenVocabFileName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
- getTokenVocabString() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
- getVisitor() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get visitor
- getVisitorName() - Method in class org.snt.inmemantlr.comp.StringCodeGenPipeline
-
get visitor name