Class AntlrParserPlugin

    • Field Detail

      • ast

        protected AST ast
        Deprecated.
      • tokenNames

        protected String[] tokenNames
        Deprecated.
    • Constructor Detail

      • AntlrParserPlugin

        public AntlrParserPlugin()
        Deprecated.
    • Method Detail

      • processAST

        protected void processAST()
        Deprecated.
      • convertGroovy

        protected void convertGroovy​(AST node)
        Deprecated.
        Converts the Antlr AST to the Groovy AST.
      • packageDef

        protected void packageDef​(AST packageDef)
        Deprecated.
      • importDef

        protected void importDef​(AST importNode)
        Deprecated.
      • annotationDef

        protected void annotationDef​(AST classDef)
        Deprecated.
      • interfaceDef

        protected void interfaceDef​(AST classDef)
        Deprecated.
      • innerInterfaceDef

        protected void innerInterfaceDef​(AST classDef)
        Deprecated.
      • classDef

        protected void classDef​(AST classDef)
        Deprecated.
      • anonymousInnerClassDef

        protected Expression anonymousInnerClassDef​(AST node)
        Deprecated.
      • innerClassDef

        protected void innerClassDef​(AST classDef)
        Deprecated.
      • objectBlock

        protected void objectBlock​(AST objectBlock)
        Deprecated.
      • enumDef

        protected void enumDef​(AST enumNode)
        Deprecated.
      • enumConstantDef

        protected void enumConstantDef​(AST node)
        Deprecated.
      • throwsList

        protected void throwsList​(AST node,
                                  List<ClassNode> list)
        Deprecated.
      • methodDef

        protected void methodDef​(AST methodDef)
        Deprecated.
      • staticInit

        protected void staticInit​(AST staticInit)
        Deprecated.
      • objectInit

        protected void objectInit​(AST init)
        Deprecated.
      • constructorDef

        protected void constructorDef​(AST constructorDef)
        Deprecated.
      • fieldDef

        protected void fieldDef​(AST fieldDef)
        Deprecated.
      • interfaces

        protected ClassNode[] interfaces​(AST node)
        Deprecated.
      • parameters

        protected Parameter[] parameters​(AST parametersNode)
        Deprecated.
      • parameter

        protected Parameter parameter​(AST paramNode)
        Deprecated.
      • modifiers

        protected int modifiers​(AST modifierNode,
                                List<AnnotationNode> annotations,
                                int defaultModifiers)
        Deprecated.
      • setAccessTrue

        protected boolean setAccessTrue​(AST node,
                                        boolean access)
        Deprecated.
      • setModifierBit

        protected int setModifierBit​(AST node,
                                     int answer,
                                     int bit)
        Deprecated.
      • annotation

        protected AnnotationNode annotation​(AST annotationNode)
        Deprecated.
      • statement

        protected Statement statement​(AST node)
        Deprecated.
      • statementList

        protected Statement statementList​(AST code)
        Deprecated.
      • statementListNoChild

        protected Statement statementListNoChild​(AST node,
                                                 AST alternativeConfigureNode)
        Deprecated.
      • assertStatement

        protected Statement assertStatement​(AST assertNode)
        Deprecated.
      • breakStatement

        protected Statement breakStatement​(AST node)
        Deprecated.
      • continueStatement

        protected Statement continueStatement​(AST node)
        Deprecated.
      • forStatement

        protected Statement forStatement​(AST forNode)
        Deprecated.
      • ifStatement

        protected Statement ifStatement​(AST ifNode)
        Deprecated.
      • labelledStatement

        protected Statement labelledStatement​(AST labelNode)
        Deprecated.
      • methodCall

        protected Statement methodCall​(AST code)
        Deprecated.
      • declarationExpression

        protected Expression declarationExpression​(AST variableDef)
        Deprecated.
      • variableDef

        protected Statement variableDef​(AST variableDef)
        Deprecated.
      • returnStatement

        protected Statement returnStatement​(AST node)
        Deprecated.
      • switchStatement

        protected Statement switchStatement​(AST switchNode)
        Deprecated.
      • synchronizedStatement

        protected Statement synchronizedStatement​(AST syncNode)
        Deprecated.
      • throwStatement

        protected Statement throwStatement​(AST node)
        Deprecated.
      • tryStatement

        protected Statement tryStatement​(AST tryStatementNode)
        Deprecated.
      • whileStatement

        protected Statement whileStatement​(AST whileNode)
        Deprecated.
      • expression

        protected Expression expression​(AST node)
        Deprecated.
      • expression

        protected Expression expression​(AST node,
                                        boolean convertToConstant)
        Deprecated.
      • expressionSwitch

        protected Expression expressionSwitch​(AST node)
        Deprecated.
      • dynamicMemberExpression

        protected Expression dynamicMemberExpression​(AST dynamicMemberNode)
        Deprecated.
      • ternaryExpression

        protected Expression ternaryExpression​(AST ternaryNode)
        Deprecated.
      • variableExpression

        protected Expression variableExpression​(AST node)
        Deprecated.
      • rangeExpression

        protected Expression rangeExpression​(AST rangeNode,
                                             boolean inclusive)
        Deprecated.
      • spreadExpression

        protected Expression spreadExpression​(AST node)
        Deprecated.
      • spreadMapExpression

        protected Expression spreadMapExpression​(AST node)
        Deprecated.
      • methodPointerExpression

        protected Expression methodPointerExpression​(AST node)
        Deprecated.
      • listExpression

        protected Expression listExpression​(AST listNode)
        Deprecated.
      • mapExpression

        protected Expression mapExpression​(AST mapNode)
        Deprecated.
      • instanceofExpression

        protected Expression instanceofExpression​(AST node)
        Deprecated.
      • assertTypeNotNull

        protected void assertTypeNotNull​(ClassNode type,
                                         AST rightNode)
        Deprecated.
      • asExpression

        protected Expression asExpression​(AST node)
        Deprecated.
      • castExpression

        protected Expression castExpression​(AST castNode)
        Deprecated.
      • indexExpression

        protected Expression indexExpression​(AST indexNode)
        Deprecated.
      • binaryExpression

        protected Expression binaryExpression​(int type,
                                              AST node)
        Deprecated.
      • prefixExpression

        protected Expression prefixExpression​(AST node,
                                              int token)
        Deprecated.
      • postfixExpression

        protected Expression postfixExpression​(AST node,
                                               int token)
        Deprecated.
      • dotExpression

        protected Expression dotExpression​(AST node)
        Deprecated.
      • specialConstructorCallExpression

        protected Expression specialConstructorCallExpression​(AST methodCallNode,
                                                              ClassNode special)
        Deprecated.
      • methodCallExpression

        protected Expression methodCallExpression​(AST methodCallNode)
        Deprecated.
      • constructorCallExpression

        protected Expression constructorCallExpression​(AST node)
        Deprecated.
      • arraySizeExpression

        protected List<Expression> arraySizeExpression​(AST node)
        Deprecated.
      • enumArguments

        protected Expression enumArguments​(AST elist)
        Deprecated.
      • arguments

        protected Expression arguments​(AST elist)
        Deprecated.
      • addArgumentExpression

        protected boolean addArgumentExpression​(AST node,
                                                List<Expression> expressionList)
        Deprecated.
      • expressionList

        protected Expression expressionList​(AST node)
        Deprecated.
      • blockExpression

        protected Expression blockExpression​(AST node)
        Deprecated.
      • unaryMinusExpression

        protected Expression unaryMinusExpression​(AST unaryMinusExpr)
        Deprecated.
      • unaryPlusExpression

        protected Expression unaryPlusExpression​(AST unaryPlusExpr)
        Deprecated.
      • gstring

        protected Expression gstring​(AST gstringNode)
        Deprecated.
      • qualifiedName

        public static String qualifiedName​(AST qualifiedNameNode)
        Deprecated.
      • makeTypeWithArguments

        protected ClassNode makeTypeWithArguments​(AST rootNode)
        Deprecated.
      • makeGenericsType

        protected GenericsType[] makeGenericsType​(AST rootNode)
        Deprecated.
      • makeType

        protected ClassNode makeType​(AST typeNode)
        Deprecated.
      • buildName

        protected ClassNode buildName​(AST node)
        Deprecated.
      • isPrimitiveTypeLiteral

        protected boolean isPrimitiveTypeLiteral​(AST node)
        Deprecated.
      • identifier

        protected String identifier​(AST node)
        Deprecated.
        Extracts an identifier from the Antlr AST
      • label

        protected String label​(AST labelNode)
        Deprecated.
      • hasVisibility

        protected boolean hasVisibility​(int modifiers)
        Deprecated.
        Returns true if the modifiers flags contain a visibility modifier
      • configureAST

        protected void configureAST​(ASTNode node,
                                    AST ast)
        Deprecated.
      • makeToken

        protected static Token makeToken​(int typeCode,
                                         AST node)
        Deprecated.
      • getFirstChildText

        protected String getFirstChildText​(AST node)
        Deprecated.
      • isType

        public static boolean isType​(int typeCode,
                                     AST node)
        Deprecated.
      • assertNodeType

        protected void assertNodeType​(int type,
                                      AST node)
        Deprecated.
      • notImplementedYet

        protected void notImplementedYet​(AST node)
        Deprecated.
      • unknownAST

        protected void unknownAST​(AST node)
        Deprecated.
      • dumpTree

        protected void dumpTree​(AST ast)
        Deprecated.
      • dump

        protected void dump​(AST node)
        Deprecated.