本文整理匯總了C#中Tools.Parser.StackAt方法的典型用法代碼示例。如果您正苦於以下問題:C# Parser.StackAt方法的具體用法?C# Parser.StackAt怎麽用?C# Parser.StackAt使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Tools.Parser
的用法示例。
在下文中一共展示了Parser.StackAt方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: OptionalSegment_2_1
/// <summary/>
/// <param name='yyq'></param>
public OptionalSegment_2_1(Parser yyq):base(yyq){
((PhonEnvParser
)yyq).CreateErrorMessage(PhonEnvParser.SyntaxErrType.missingClosingParen.ToString(),
((TOKEN)(yyq.StackAt(2).m_value))
.yytext,
((error)(yyq.StackAt(0).m_value))
.pos);
((PhonEnvParser
)yyq).SyntaxErrorType = PhonEnvParser.SyntaxErrType.missingClosingParen;
((PhonEnvParser
)yyq).Position =
((error)(yyq.StackAt(0).m_value))
.pos;
}}
示例2: State_1
public State_1(Parser yyq):base(yyq,
((DEFAULT_STATE)(yyq.StackAt(3).m_value))
.yytext,
((StateBody)(yyq.StackAt(1).m_value))
){}}
示例3: ForLoop_1
public ForLoop_1(Parser yyq):base(yyq,
((ForLoopStatement)(yyq.StackAt(6).m_value))
,
((Expression)(yyq.StackAt(4).m_value))
,
((ForLoopStatement)(yyq.StackAt(2).m_value))
,
((Statement)(yyq.StackAt(0).m_value))
){}}
示例4: DoWhileStatement_1
public DoWhileStatement_1(Parser yyq):base(yyq,
((Expression)(yyq.StackAt(2).m_value))
,
((Statement)(yyq.StackAt(5).m_value))
){}}
示例5: IfStatement_2
public IfStatement_2(Parser yyq):base(yyq,
((Expression)(yyq.StackAt(4).m_value))
,
((Statement)(yyq.StackAt(2).m_value))
,
((Statement)(yyq.StackAt(0).m_value))
){}}
示例6: StateChange_1
public StateChange_1(Parser yyq):base(yyq,
((IDENT)(yyq.StackAt(0).m_value))
.yytext){}}
示例7: Statement_13
public Statement_13(Parser yyq):base(yyq,
((CompoundStatement)(yyq.StackAt(0).m_value))
){}}
示例8: Statement_11
public Statement_11(Parser yyq):base(yyq,
((DoWhileStatement)(yyq.StackAt(0).m_value))
){}}
示例9: StatementList_2
public StatementList_2(Parser yyq):base(yyq,
((StatementList)(yyq.StackAt(1).m_value))
,
((Statement)(yyq.StackAt(0).m_value))
){}}
示例10: CompoundStatement_2
public CompoundStatement_2(Parser yyq):base(yyq,
((StatementList)(yyq.StackAt(1).m_value))
){}}
示例11: Declaration_1
public Declaration_1(Parser yyq):base(yyq,
((Typename)(yyq.StackAt(1).m_value))
.yytext,
((IDENT)(yyq.StackAt(0).m_value))
.yytext){}}
示例12: ArgumentDeclarationList_2
public ArgumentDeclarationList_2(Parser yyq):base(yyq,
((ArgumentDeclarationList)(yyq.StackAt(2).m_value))
,
((Declaration)(yyq.StackAt(0).m_value))
){}}
示例13: StateEvent_1
public StateEvent_1(Parser yyq):base(yyq,
((Event)(yyq.StackAt(4).m_value))
.yytext,
((ArgumentDeclarationList)(yyq.StackAt(2).m_value))
,
((CompoundStatement)(yyq.StackAt(0).m_value))
){}}
示例14: StateBody_2
public StateBody_2(Parser yyq):base(yyq,
((StateBody)(yyq.StackAt(1).m_value))
,
((StateEvent)(yyq.StackAt(0).m_value))
){}}
示例15: State_2
public State_2(Parser yyq):base(yyq,
((IDENT)(yyq.StackAt(3).m_value))
.yytext,
((StateBody)(yyq.StackAt(1).m_value))
){}}