コード例 #1
0
ファイル: PftStatement.cs プロジェクト: koma00/GatewayIrbis
 public PftStatement(PftParser.StatementContext node)
     : base(node)
 {
     PftParser.GroupStatementContext groupStatementContext
         = node.groupStatement();
     if (groupStatementContext == null)
     {
         Children.Add(new PftNonGrouped(node.nonGrouped()));
     }
     else
     {
         Children.Add(new PftGroupStatement(groupStatementContext));
     }
 }
コード例 #2
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="PftParser.statement"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitStatement([NotNull] PftParser.StatementContext context)
 {
 }