public PftConditionalStatement(PftParser.ConditionalStatementContext node) : base(node) { PftParser.ConditionContext context = node.condition(); Condition = PftCondition.DispatchContext(context); ThenStatement = new PftStatement(node.thenBranch); if (node.elseBranch != null) { ElseStatement = new PftStatement(node.elseBranch); } }
public PftFormatExit(PftParser.FormatExitContext node) : base(node) { Name = node.FORMATEXIT().GetText().Substring(1).ToLower(); switch (Name) { case "umarci": break; case "unifor": break; case "uf": Name = "unifor"; break; default: throw new ArgumentException(); } Statement = new PftStatement(node.statement()); }
public PftError(PftParser.ErrorContext node) : base(node) { Statement = new PftStatement(node.statement()); }
public PftTrace(PftParser.TraceContext node) : base(node) { Statement = new PftStatement(node.statement()); }
public PftFatal(PftParser.FatalContext node) : base(node) { Statement = new PftStatement(node.statement()); }
public PftDebug(PftParser.DebugContext node) : base(node) { Statement = new PftStatement(node.statement()); }
public PftWarning(PftParser.WarningContext node) : base(node) { Statement = new PftStatement(node.statement()); }