Package com.icona.tree.nodes

Examples of com.icona.tree.nodes.Expression


    // C:\\Users\\line47\\workspace\\ObjCFYPA\\src\\com\\icona\\antlr\\main\\ObjectiveC.g:201:1: abstract_declarator returns [ArrayType arrayType] : ( ( '[' (c= constant_expression )? ']' )+ |);
    public final ArrayType abstract_declarator() throws RecognitionException {
        ArrayType arrayType = null;


        Expression c =null;



          arrayType =null;
          Expression dimension=null;

        try {
            // C:\\Users\\line47\\workspace\\ObjCFYPA\\src\\com\\icona\\antlr\\main\\ObjectiveC.g:208:3: ( ( '[' (c= constant_expression )? ']' )+ |)
            int alt27=2;
            int LA27_0 = input.LA(1);
View Full Code Here


        Statement statement = null;


        Statement sel_stmt =null;

        Expression exp =null;

        Statement.CompoundStatement cmp_stmt =null;

        Statement itr_stmt =null;
View Full Code Here

        ObjectiveCParser.identifier_return v =null;

        Statement s =null;

        Expression ce =null;




           Statement.LabelStatement lStmt = null;
View Full Code Here

    // C:\\Users\\line47\\workspace\\ObjCFYPA\\src\\com\\icona\\antlr\\main\\ObjectiveC.g:670:1: selection_statement returns [Statement statement] : ( 'if' '(' exp= expression ')' stmtIf= statement ( 'else' stmtElse= statement )? | 'switch' '(' exp= expression ')' switch_stmt= statement );
    public final Statement selection_statement() throws RecognitionException {
        Statement statement = null;


        Expression exp =null;

        Statement stmtIf =null;

        Statement stmtElse =null;
View Full Code Here

    // C:\\Users\\line47\\workspace\\ObjCFYPA\\src\\com\\icona\\antlr\\main\\ObjectiveC.g:715:1: iteration_statement returns [Statement Stmt] : ( 'while' '(' e= expression ')' s= statement | 'do' s= statement 'while' '(' e= expression ')' ';' | 'for' '(' (e1= expression |decl= declaration )? ';' (e2= expression )? ';' (e3= expression )? ')' s= statement );
    public final Statement iteration_statement() throws RecognitionException {
        Statement Stmt = null;


        Expression e =null;

        Statement s =null;

        Expression e1 =null;

        ListDeclaration decl =null;

        Expression e2 =null;

        Expression e3 =null;



            Stmt = null;
            Statement.While whileStmt = null;
View Full Code Here


    // $ANTLR start "expression"
    // C:\\Users\\line47\\workspace\\ObjCFYPA\\src\\com\\icona\\antlr\\main\\ObjectiveC.g:779:1: expression returns [Expression expression] : exp1= assignment_expression ( ',' expx= assignment_expression )* ;
    public final Expression expression() throws RecognitionException {
        Expression expression = null;


        AssignmentExpression exp1 =null;

        AssignmentExpression expx =null;
View Full Code Here

        AssignmentExpression expx =null;



          Expression prev=null; //Will tell the prvious expression added;
          AssignmentExpression addTo=null; //Will tell where to add
          expression =new AssignmentExpression(null,-1,null);
          addTo=expression;
          AssignmentSymbol symbol=null;
View Full Code Here


    // $ANTLR start "constant_expression"
    // C:\\Users\\line47\\workspace\\ObjCFYPA\\src\\com\\icona\\antlr\\main\\ObjectiveC.g:871:1: constant_expression returns [Expression expression] : exp= conditional_expression ;
    public final Expression constant_expression() throws RecognitionException {
        Expression expression = null;


        TertiaryExpression exp =null;

View Full Code Here

        BinaryExpression expx =null;



          Expression prev=null; //Will tell the prvious expression added;
          BinaryExpression addTo=null; //Will tell where to add
          expression =new BinaryExpression(null,-1,null);
          addTo=expression;

        try {
View Full Code Here

        BinaryExpression expx =null;



          Expression prev=null; //Will tell the prvious expression added;
          BinaryExpression addTo=null; //Will tell where to add
          expression =new BinaryExpression(null,-1,null);
          addTo=expression;

        try {
View Full Code Here

TOP

Related Classes of com.icona.tree.nodes.Expression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.