Package org.javacc.parser
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 StringBuffer
dumpPrefix
(int indent) int
getLhs()
int
getLine()
protected String
void
setAccessMod
(String accessMod) void
setColumn
(int column) void
setExpansion
(Expansion expansion) setFirstToken
(Token firstToken) void
setLastToken
(Token lastToken) void
void
setLine
(int line) void
setThrowsList
(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
- Returns:
- the return_type_tokens
-
getParameterListTokens
- Returns:
- the parameter_list_tokens
-
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
- Parameters:
firstToken
- the firstToken to set
-
getFirstToken
- Returns:
- the firstToken
-
setLastToken
- Parameters:
lastToken
- the lastToken to set
-
getLastToken
- Returns:
- the lastToken
-