YaccConstructor


Tree<'TokenType>

Namespace: Yard.Generators.Common
Parent Module: ASTGLL

Constructors

ConstructorDescription
new(tokens, root, rules)
Signature: (tokens:'TokenType [] * root:INode * rules:int [] []) -> Tree<'TokenType>

CompiledName: .ctor

Instance members

Instance memberDescription
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

Fork me on GitHub