本文整理汇总了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))
){}}