Class ASTArrayAccess

    • Field Detail

      • safe

        private long safe
        Which children are accessed using a safe notation. Note that this does not really work after the 64th child. However, an expression like 'a?[b]?[c]?...?[b0]' with 64 terms is very unlikely to occur in real life and a bad idea anyhow.
    • Constructor Detail

      • ASTArrayAccess

        public ASTArrayAccess​(int id)
      • ASTArrayAccess

        public ASTArrayAccess​(Parser p,
                              int id)
    • Method Detail

      • isSafeChild

        public boolean isSafeChild​(int c)
      • jjtAccept

        public java.lang.Object jjtAccept​(ParserVisitor visitor,
                                          java.lang.Object data)
        Description copied from class: SimpleNode
        Accepts the visitor.
        Specified by:
        jjtAccept in interface Node
        Overrides:
        jjtAccept in class SimpleNode
        Parameters:
        visitor - the visitor
        data - contextual data
        Returns:
        result of visit
      • setSafe

        void setSafe​(long s)