C# Class Loyc.Ecs.Parser.EcsParser

Show file Open project: qwertie/ecsharp Class Usage Examples

Public Properties

Property Type Description
StartExpr Precedence

Public Methods

Method Description
DataType ( bool afterAsOrIs = false ) : LNode
ExprStart ( bool allowUnassignedVarDecl ) : LNode
ExprStartNNP ( bool allowUnassignedVarDecl ) : LNode
Stmt ( ) : LNode

Private Methods

Method Description
AliasDecl ( int startIndex ) : LNode
AnyOperator ( ) : Token
Apply ( TentativeResult result ) : LNode
ArgList ( Token lp, Token rp ) : LNode
ArgList ( VList &list ) : void
AsmOrModLabel ( ) : Token
AssemblyOrModuleAttribute ( int startIndex, VList attrs ) : LNode
Atom ( ) : LNode
AtomOrTypeParamExpr ( ) : LNode
AtomOrTypeParamExpr_Test0 ( ) : bool
AttributeContents ( VList &attrs ) : void
AttributeKeywords ( VList &attrs ) : void
AutoRemoveParens ( LNode node ) : LNode
BaseListOpt ( ) : LNode
BlockCallStmt ( int startIndex ) : LNode
BlockCallStmt_Test0 ( ) : bool
BracedBlock ( Symbol spaceName = null, Symbol target = null, int startIndex = -1 ) : LNode
BracedBlockOrTokenLiteral ( Symbol spaceName = null, Symbol target = null, int startIndex = -1 ) : LNode
CaseStmt ( int startIndex ) : LNode
CheckedOrUncheckedStmt ( int startIndex ) : LNode
ColumnOf ( int index ) : int
ComplexId ( bool declContext = false ) : LNode
ComplexNameDecl ( ) : LNode
ComplexNameDecl ( bool thisAllowed, bool &hasThis ) : LNode
ComplexThisDecl ( bool allowed ) : LNode
Constructor ( int startIndex, VList attrs ) : LNode
Constructor_Test0 ( ) : bool
Constructor_Test1 ( ) : bool
Constructor_Test2 ( ) : bool
DataType ( bool afterAsOrIs, Token &majorDimension ) : LNode
DelegateDecl ( int startIndex, VList attrs ) : LNode
Destructor ( int startIndex, VList attrs ) : LNode
DetectStatementCategory ( int &wordAttrCount, DetectionMode mode ) : StmtCat
DetectStatementCategoryAndAddWordAttributes ( int &wordAttrCount, VList &attrs, DetectionMode mode ) : StmtCat
DoStmt ( int startIndex ) : LNode
EnumDecl ( int startIndex ) : LNode
EventDecl ( int startIndex ) : LNode
ExprInParens ( bool allowUnassignedVarDecl ) : LNode
ExprInParensAuto ( ) : LNode
ExprInParensAuto_Test0 ( ) : bool
ExprList ( VList &list, bool allowTrailingComma = false, bool allowUnassignedVarDecl = false ) : void
ExprOpt ( bool allowUnassignedVarDecl = false ) : LNode
ExprOrNull ( bool allowUnassignedVarDecl = false ) : LNode
ExprStatement ( ) : LNode
FinishPrimaryExpr ( LNode &e ) : void
FinishPrimaryExpr_Test0 ( ) : bool
FixedStmt ( int startIndex ) : LNode
ForEachStmt ( int startIndex ) : LNode
ForStmt ( int startIndex ) : LNode
GotoCaseStmt ( int startIndex ) : LNode
GotoStmt ( int startIndex ) : LNode
HasNoSemicolons ( ) : bool
IdAtom ( ) : LNode
IdNotLinqKeyword ( ) : Token
IdStmt ( int startIndex, VList attrs, bool hasWordAttrs ) : LNode
IdStmt_Test0 ( ) : bool
IdWithOptionalTypeParams ( bool declarationContext ) : LNode
IfStmt ( int startIndex ) : LNode
InParens_ExprOrTuple ( bool allowUnassignedVarDecl, int startIndex, int endIndex ) : LNode
InitializerExpr ( ) : LNode
InitializerList ( VList &list ) : void
Is ( int li, Symbol value ) : bool
IsArrayType ( LNode type ) : bool
IsNamedArg ( LNode node ) : bool
KeywordStmt ( int startIndex, VList attrs, bool hasWordAttrs ) : LNode
KeywordStmtAsExpr ( ) : LNode
LabelStmt ( int startIndex ) : LNode
LockStmt ( int startIndex ) : LNode
MaybeRecognizeVarAsKeyword ( LNode &type ) : void
MethodArgListAndBody ( int startIndex, int targetIndex, VList attrs, Symbol kind, LNode type, LNode name ) : LNode
MethodBodyOrForward ( ) : LNode
MethodBodyOrForward ( bool isProperty, LNode &propInitializer, bool isExpression = false, int bodyStartIndex = -1 ) : LNode
MethodOrPropertyOrVar ( int startIndex, VList attrs ) : LNode
MethodOrPropertyOrVarStmt ( int startIndex, VList attrs ) : LNode
MissingHere ( ) : LNode
NewExpr ( ) : LNode
NoSemicolons ( ) : void
NonKeywordAttrError ( IList attrs, string stmtType ) : void
NormalAttributes ( VList &attrs ) : bool
OperatorCastMethod ( int startIndex, VList attrs ) : LNode
OtherStmt ( int startIndex, VList attrs, bool hasWordAttrs ) : LNode
OtherStmt_Test0 ( ) : bool
PrefixExpr ( ) : LNode
PrefixExpr_Test0 ( ) : bool
PrimaryExpr ( ) : LNode
PrimaryExpr_NewStyleCast ( LNode e ) : LNode
RestOfAlias ( int startIndex, Token aliasTok, LNode oldName, LNode newName ) : LNode
RestOfPropertyDefinition ( int startIndex, LNode type, LNode name, bool isExpression ) : LNode
RestOfSpaceDecl ( int startIndex, Token kindTok ) : LNode
ReturnBreakContinueThrow ( int startIndex ) : LNode
ScanToEndOfStmt ( ) : void
Scan_AnyOperator ( ) : bool
Scan_AsmOrModLabel ( ) : bool
Scan_Atom ( ) : bool
Scan_BracedBlock ( Symbol spaceName = null, Symbol target = null, int startIndex = -1 ) : bool
Scan_ComplexId ( bool declContext = false ) : bool
Scan_ComplexNameDecl ( bool thisAllowed = false ) : bool
Scan_ComplexThisDecl ( bool allowed ) : bool
Scan_DataType ( bool afterAsOrIs = false ) : bool
Scan_ExprInParens ( bool allowUnassignedVarDecl ) : bool
Scan_ExprInParensAuto ( ) : bool
Scan_IdAtom ( ) : bool
Scan_IdNotLinqKeyword ( ) : bool
Scan_IdWithOptionalTypeParams ( bool declarationContext ) : bool
Scan_NewExpr ( ) : bool
Scan_NormalAttributes ( ) : bool
Scan_TParamAttributeKeywords ( ) : bool
Scan_TParamDeclOrDataType ( bool declarationContext ) : bool
Scan_TParams ( bool declContext ) : bool
Scan_TokenLiteral ( ) : bool
Scan_TypeSuffixOpt ( bool afterAsOrIs ) : bool
Scan_VarDeclStart ( ) : bool
Scan_VarIn ( ) : bool
SemicolonIf ( bool isStatement ) : void
SetAlternateStyle ( LNode node ) : LNode
SetOperatorStyle ( LNode node ) : LNode
SpaceDecl ( int startIndex ) : LNode
StmtList ( VList &list ) : void
SubExpr ( Precedence context ) : LNode
SwitchStmt ( int startIndex ) : LNode
TParamAttributeKeywords ( VList &attrs ) : void
TParamDeclOrDataType ( bool declarationContext ) : LNode
TParamSymbol ( LNode T ) : Symbol
TParams ( bool declContext, LNode &r ) : void
TentativeExpr ( VList attrs, TentativeResult &result, bool allowUnassigned = false ) : LNode
TentativeVarDecl ( VList attrs, TentativeResult &result, bool allowUnassigned = false ) : LNode
TokenLiteral ( ) : LNode
TraitDecl ( int startIndex ) : LNode
TryStmt ( int startIndex ) : LNode
Try_AtomOrTypeParamExpr_Test0 ( int lookaheadAmt ) : bool
Try_BlockCallStmt_Test0 ( int lookaheadAmt ) : bool
Try_Constructor_Test0 ( int lookaheadAmt ) : bool
Try_Constructor_Test1 ( int lookaheadAmt ) : bool
Try_Constructor_Test2 ( int lookaheadAmt ) : bool
Try_ExprInParensAuto_Test0 ( int lookaheadAmt ) : bool
Try_FinishPrimaryExpr_Test0 ( int lookaheadAmt ) : bool
Try_HasNoSemicolons ( int lookaheadAmt ) : bool
Try_IdStmt_Test0 ( int lookaheadAmt ) : bool
Try_OtherStmt_Test0 ( int lookaheadAmt ) : bool
Try_PrefixExpr_Test0 ( int lookaheadAmt ) : bool
Try_Scan_AsmOrModLabel ( int lookaheadAmt ) : bool
Try_Scan_ComplexNameDecl ( int lookaheadAmt, bool thisAllowed = false ) : bool
Try_Scan_DataType ( int lookaheadAmt, bool afterAsOrIs = false ) : bool
Try_Scan_NormalAttributes ( int lookaheadAmt ) : bool
Try_Scan_TParamAttributeKeywords ( int lookaheadAmt ) : bool
Try_Scan_TParamDeclOrDataType ( int lookaheadAmt, bool declarationContext ) : bool
Try_Scan_TParams ( int lookaheadAmt, bool declContext ) : bool
Try_Scan_TypeSuffixOpt ( int lookaheadAmt, bool afterAsOrIs ) : bool
Try_Scan_VarIn ( int lookaheadAmt ) : bool
Try_TypeSuffixOpt_Test0 ( int lookaheadAmt ) : bool
TypeInside ( Token args ) : LNode
TypeSuffixOpt ( bool afterAsOrIs, Token &dimensionBrack, LNode &e ) : bool
TypeSuffixOpt_Test0 ( ) : bool
UsingDirective ( int startIndex, VList attrs ) : LNode
UsingStmt ( int startIndex ) : LNode
VarDeclExpr ( bool &hasInitializer, VList attrs ) : LNode
VarDeclStart ( ) : LNode>.Pair
VarIn ( ) : LNode
VarInitializer ( bool isArray ) : LNode
VarInitializerOpt ( LNode name, bool isArray ) : LNode
WhereClause ( ) : LNode>.KeyValuePair
WhereClausesOpt ( LNode &name ) : void
WhereConstraint ( ) : LNode
WhileStmt ( int startIndex ) : LNode

Method Details

DataType() public method

public DataType ( bool afterAsOrIs = false ) : LNode
afterAsOrIs bool
return LNode

ExprStart() public method

public ExprStart ( bool allowUnassignedVarDecl ) : LNode
allowUnassignedVarDecl bool
return LNode

ExprStartNNP() public method

public ExprStartNNP ( bool allowUnassignedVarDecl ) : LNode
allowUnassignedVarDecl bool
return LNode

Stmt() public method

public Stmt ( ) : LNode
return LNode

Property Details

StartExpr public static property

public static Precedence StartExpr
return Precedence