Class NormalProduction
java.lang.Object
org.javacc.parser.NormalProduction
- Direct Known Subclasses:
BNFProduction, CodeProduction
Describes JavaCC productions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBufferdumpPrefix(int indent) intgetLhs()intgetLine()protected StringvoidsetAccessMod(String accessMod) voidsetColumn(int column) voidsetExpansion(Expansion expansion) setFirstToken(Token firstToken) voidsetLastToken(Token lastToken) voidvoidsetLine(int line) voidsetThrowsList(List throws_list)
-
Field Details
-
eol
-
-
Constructor Details
-
NormalProduction
public NormalProduction()
-
-
Method Details
-
dumpPrefix
-
getSimpleName
-
dump
-
setLine
public void setLine(int line) - Parameters:
line- the line to set
-
getLine
public int getLine()- Returns:
- the line
-
setColumn
public void setColumn(int column) - Parameters:
column- the column to set
-
getColumn
public int getColumn()- Returns:
- the column
-
setAccessMod
- Parameters:
accessMod- the accessMod to set
-
getAccessMod
- Returns:
- the accessMod
-
setLhs
- Parameters:
lhs- the lhs to set
-
getLhs
- Returns:
- the lhs
-
getReturnTypeTokens
-
getParameterListTokens
-
setThrowsList
- Parameters:
throws_list- the throws_list to set
-
getThrowsList
- Returns:
- the throws_list
-
setExpansion
- Parameters:
expansion- the expansion to set
-
getExpansion
- Returns:
- the expansion
-
setFirstToken
-
getFirstToken
- Returns:
- the firstToken
-
setLastToken
- Parameters:
lastToken- the lastToken to set
-
getLastToken
- Returns:
- the lastToken
-