Свойство | Тип | Описание | |
---|---|---|---|
Basis | LNode | ||
EndOfRule | EndOfRule | ||
FullLLk | bool? | ||
IsExternal | bool | ||
IsPrivate | bool? | ||
IsRecognizer | bool | ||
IsToken | bool | ||
K | int | ||
Name | Symbol | ||
Pred | Pred | ||
ReturnType | LNode | ||
TryWrapperName | LNode | ||
_recognizer |
Метод | Описание | |
---|---|---|
CreateMethod ( VList |
Creates the default method definition to wrap around the body of the rule, which has already been generated. Returns Basis with the specified new method body. If Basis is null, a simple default method signature is used, e.g.
|
|
GetMethodSignature ( ) : LNode |
Returns Basis if it's a method signature; otherwise constructs a default signature.
|
|
MakeRecognizerVersion ( ) : |
||
MakeRecognizerVersion ( LNode prototype ) : |
||
MakeRecognizerVersion ( Symbol newName ) : |
||
Rule ( LNode basis, Symbol name, Pred pred, bool isStartingRule = true ) : System | ||
ToString ( ) : string | ||
TryWrapperNeeded ( ) : void | ||
operator ( ) : Alts | ||
operator ( ) : Pred |
Метод | Описание | |
---|---|---|
MakeRecognizerVersion ( LNode prototype, Symbol newName ) : |
public CreateMethod ( VList |
||
methodBody | VList |
The parsing code that was generated for this rule. |
Результат | LNode |
public MakeRecognizerVersion ( LNode prototype ) : |
||
prototype | LNode | |
Результат |
public MakeRecognizerVersion ( Symbol newName ) : |
||
newName | Symbol | |
Результат |
public Rule ( LNode basis, Symbol name, Pred pred, bool isStartingRule = true ) : System | ||
basis | LNode | |
name | Symbol | |
pred | Pred | |
isStartingRule | bool | |
Результат | System |