All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javacc.parser.Lookahead.html Maven / Gradle / Ivy

There is a newer version: 7.0.13
Show newest version





Lookahead











org.javacc.parser

Class Lookahead



  • public class Lookahead
    extends Expansion
    Describes lookahead rule for a particular expansion or expansion sequence (See Sequence.java). In case this describes the lookahead rule for a single expansion unit, then a sequence is created with this node as the first element, and the expansion unit as the second and last element.
    • Constructor Detail

      • Lookahead

        public Lookahead()
    • Method Detail

      • dump

        public java.lang.StringBuffer dump(int indent,
                                  java.util.Set alreadyDumped)
        Overrides:
        dump in class Expansion
      • getActionTokens

        public java.util.List<Token> getActionTokens()
        Returns:
        the action_tokens
      • setAmount

        public void setAmount(int amount)
        Parameters:
        amount - the amount to set
      • getAmount

        public int getAmount()
        Returns:
        the amount
      • setLaExpansion

        public void setLaExpansion(Expansion la_expansion)
        Parameters:
        la_expansion - the la_expansion to set
      • getLaExpansion

        public Expansion getLaExpansion()
        Returns:
        the la_expansion
      • setExplicit

        public void setExplicit(boolean isExplicit)
        Parameters:
        isExplicit - the isExplicit to set
      • isExplicit

        public boolean isExplicit()
        Returns:
        the isExplicit




© 2015 - 2024 Weber Informatics LLC | Privacy Policy