Tree<'TokenType>
Namespace: Yard.Generators.Common
Parent Module: ASTGLL
Constructors
Constructor | Description |
new(tokens, root, rules)
Signature: (tokens:'TokenType [] * root:INode * rules:int [] []) -> Tree<'TokenType>
|
CompiledName: .ctor
|
Instance members
Instance member | Description |
AstToDot(...)
Signature: (indToString:(int -> string)) -> (tokenToNumber:('TokenType -> int)) -> (tokenData:('TokenType -> obj)) -> path:string -> unit
|
|
CountCounters
Signature: int * int * int * int
|
CompiledName: get_CountCounters
|
GetStrings(nTerm numToString)
Signature: nTerm:int -> (numToString:('TokenType -> string)) -> string list
|
Returns all paths found for specific nonterminal
|
ReducedTreeToDot(tree tokenData path)
Signature: tree:ReducedTree -> (tokenData:('TokenType -> obj)) -> path:string -> unit
|
|
ReduceTree(tokenToNumber indToString)
Signature: (tokenToNumber:('TokenType -> int)) -> (indToString:(int -> string)) -> ReducedTree
|
|
Root
Signature: INode
|
CompiledName: get_Root
|