YaccConstructor


Namer

Namespace: Yard.Core

Nested types and modules

ModuleDescription
Names

Functions and values

Function or valueDescription
addToListAction
Signature: string
createLiteralToken number
Signature: number:int -> string

returns token type for literal

createTknFileName fname
Signature: fname:string -> string

returns file name for tokens

createTypeName ruleName
Signature: ruleName:string -> string

type of semantic value

genNewSourceWithRange name body
Signature: name:string -> body:t<'a,t> -> t
Type parameters: 'a
getEofTokenName
Signature: string

returns token name for EOF (End Of File)

getItem
Signature: string

formal parameter name in metarules for EBNF clauses

getItemBind
Signature: string
getKeepParamName
Signature: string
headBind
Signature: string
initNamer grammar
Signature: grammar:t<t,t> -> unit
isEBNFmeta name
Signature: name:string -> bool
isItem name
Signature: name:string -> bool

Does name have prefix 'item'

newName n
Signature: n:string -> string
newSource old
Signature: old:t -> t
noneAction
Signature: string
oneElemListAction
Signature: string -> string
someAction
Signature: string -> string
tailBind
Signature: string
usedNames
Signature: HashSet<string>
withElkPrefix x
Signature: x:string -> string

prefix for Elkhound bindings

withTokenPrefix token_name
Signature: token_name:string -> string

token type (need for using bindings with tokens)

Fork me on GitHub