private (int ChildNodeIndex, Type tipo) treatPrimaryExpression(CSharpParser.Primary_expressionContext context) { Console.WriteLine("Entering conditional_expression context."); Node.Kind currentKind = Node.Kind.ExpressionAssignment; IToken token = null; Type currentType = null; Node currentNode = null; return(ast.NodeIndex(currentNode), currentType); }
public override void EnterPrimary_expression([NotNull] CSharpParser.Primary_expressionContext context) { //if (context.ChildCount == 3) { //Console.WriteLine(context.GetChild(2).GetType().ToString()); //} }