C# 클래스 Loyc.LLParserGenerator.LlpgHelpers

Helper methods for making LLLPG grammar nodes. Used by LlpgCoreTests.
파일 보기 프로젝트 열기: qwertie/ecsharp

보호된 프로퍼티들

프로퍼티 타입 설명
F Loyc.Syntax.LNodeFactory
Private Symbol
Start Symbol
Token Symbol

보호된 메소드들

메소드 설명
AddSet ( string varName, Pred pred ) : Pred
And ( LNode test ) : AndPred
And ( Pred test ) : AndPred
And ( string ident ) : AndPred
AndNot ( LNode test ) : AndPred
AndNot ( Pred test ) : AndPred
AndNot ( string ident ) : AndPred
C ( char ch ) : TerminalPred
Call ( Rule rule ) : RuleRef
Cs ( ) : TerminalPred
Expr ( string code ) : LNode
Gate ( Pred predictor, Pred match ) : Gate
Id ( ) : TerminalPred
Id ( string s ) : TerminalPred
Lit ( ) : TerminalPred
Lit ( object s ) : TerminalPred
NotId ( ) : TerminalPred
NotSym ( ) : TerminalPred
Opt ( Pred contents, bool greedy = null ) : Alts
Plus ( Pred contents, bool greedy = null ) : Seq
R ( char lo, char hi ) : TerminalPred
Rule ( string name, Pred contents, Symbol mode = null, int k ) : Rule
Seq ( ) : Seq
Seq ( string s ) : Seq
Set ( string varName, Pred pred ) : Pred
Set ( string set ) : TerminalPred
SetVar ( string varName, Pred pred ) : Pred
Star ( Pred contents, bool greedy = null ) : Alts
Stmt ( string code ) : LNode
Sym ( ) : TerminalPred
Sym ( string s ) : TerminalPred
_ ( string symbol ) : Symbol

메소드 상세

AddSet() 보호된 정적인 메소드

protected static AddSet ( string varName, Pred pred ) : Pred
varName string
pred Pred
리턴 Pred

And() 보호된 정적인 메소드

protected static And ( LNode test ) : AndPred
test LNode
리턴 AndPred

And() 보호된 정적인 메소드

protected static And ( Pred test ) : AndPred
test Pred
리턴 AndPred

And() 보호된 정적인 메소드

protected static And ( string ident ) : AndPred
ident string
리턴 AndPred

AndNot() 보호된 정적인 메소드

protected static AndNot ( LNode test ) : AndPred
test LNode
리턴 AndPred

AndNot() 보호된 정적인 메소드

protected static AndNot ( Pred test ) : AndPred
test Pred
리턴 AndPred

AndNot() 보호된 정적인 메소드

protected static AndNot ( string ident ) : AndPred
ident string
리턴 AndPred

C() 보호된 정적인 메소드

protected static C ( char ch ) : TerminalPred
ch char
리턴 TerminalPred

Call() 보호된 정적인 메소드

protected static Call ( Rule rule ) : RuleRef
rule Rule
리턴 RuleRef

Cs() 보호된 정적인 메소드

protected static Cs ( ) : TerminalPred
리턴 TerminalPred

Expr() 보호된 정적인 메소드

protected static Expr ( string code ) : LNode
code string
리턴 LNode

Gate() 보호된 정적인 메소드

protected static Gate ( Pred predictor, Pred match ) : Gate
predictor Pred
match Pred
리턴 Gate

Id() 보호된 정적인 메소드

protected static Id ( ) : TerminalPred
리턴 TerminalPred

Id() 보호된 정적인 메소드

protected static Id ( string s ) : TerminalPred
s string
리턴 TerminalPred

Lit() 보호된 정적인 메소드

protected static Lit ( ) : TerminalPred
리턴 TerminalPred

Lit() 보호된 정적인 메소드

protected static Lit ( object s ) : TerminalPred
s object
리턴 TerminalPred

NotId() 보호된 정적인 메소드

protected static NotId ( ) : TerminalPred
리턴 TerminalPred

NotSym() 보호된 정적인 메소드

protected static NotSym ( ) : TerminalPred
리턴 TerminalPred

Opt() 보호된 정적인 메소드

protected static Opt ( Pred contents, bool greedy = null ) : Alts
contents Pred
greedy bool
리턴 Alts

Plus() 보호된 정적인 메소드

protected static Plus ( Pred contents, bool greedy = null ) : Seq
contents Pred
greedy bool
리턴 Seq

R() 보호된 정적인 메소드

protected static R ( char lo, char hi ) : TerminalPred
lo char
hi char
리턴 TerminalPred

Rule() 보호된 정적인 메소드

protected static Rule ( string name, Pred contents, Symbol mode = null, int k ) : Rule
name string
contents Pred
mode Symbol
k int
리턴 Rule

Seq() 보호된 메소드

protected Seq ( ) : Seq
리턴 Seq

Seq() 보호된 정적인 메소드

protected static Seq ( string s ) : Seq
s string
리턴 Seq

Set() 보호된 정적인 메소드

protected static Set ( string varName, Pred pred ) : Pred
varName string
pred Pred
리턴 Pred

Set() 보호된 정적인 메소드

protected static Set ( string set ) : TerminalPred
set string
리턴 TerminalPred

SetVar() 보호된 정적인 메소드

protected static SetVar ( string varName, Pred pred ) : Pred
varName string
pred Pred
리턴 Pred

Star() 보호된 정적인 메소드

protected static Star ( Pred contents, bool greedy = null ) : Alts
contents Pred
greedy bool
리턴 Alts

Stmt() 보호된 정적인 메소드

protected static Stmt ( string code ) : LNode
code string
리턴 LNode

Sym() 보호된 정적인 메소드

protected static Sym ( ) : TerminalPred
리턴 TerminalPred

Sym() 보호된 정적인 메소드

protected static Sym ( string s ) : TerminalPred
s string
리턴 TerminalPred

_() 보호된 정적인 메소드

protected static _ ( string symbol ) : Symbol
symbol string
리턴 Symbol

프로퍼티 상세

F 보호되어 있는 정적으로 프로퍼티

protected static LNodeFactory,Loyc.Syntax F
리턴 Loyc.Syntax.LNodeFactory

Private 보호되어 있는 정적으로 프로퍼티

protected static Symbol Private
리턴 Symbol

Start 보호되어 있는 정적으로 프로퍼티

protected static Symbol Start
리턴 Symbol

Token 보호되어 있는 정적으로 프로퍼티

protected static Symbol Token
리턴 Symbol