Example #1
0
    // Type Analysis:

    [AgRule("Type", "OrdinaryQuestion")] static Types OrdinaryQuestionType(Ast n)
    {
        var type = n.GetValueType();

        return((TypeToAcceptor(type) != null) ? type : Types.ErrorType);
    }
Example #2
0
 static ValueTypes OrdinaryQuestionType(Racr.AstNode n)
 {
     return(n.GetValueType());
 }