public final class ATokenDef extends PTokenDef
Modifier and Type | Field and Description |
---|---|
private TId |
_id_ |
private PRegExp |
_lookAhead_ |
private PRegExp |
_regExp_ |
private TSlash |
_slash_ |
private PStateList |
_stateList_ |
Constructor and Description |
---|
ATokenDef() |
ATokenDef(PStateList _stateList_,
TId _id_,
PRegExp _regExp_,
TSlash _slash_,
PRegExp _lookAhead_) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw) |
java.lang.Object |
clone() |
TId |
getId() |
PRegExp |
getLookAhead() |
PRegExp |
getRegExp() |
TSlash |
getSlash() |
PStateList |
getStateList() |
(package private) void |
removeChild(Node child) |
(package private) void |
replaceChild(Node oldChild,
Node newChild) |
void |
setId(TId node) |
void |
setLookAhead(PRegExp node) |
void |
setRegExp(PRegExp node) |
void |
setSlash(TSlash node) |
void |
setStateList(PStateList node) |
java.lang.String |
toString() |
private PStateList _stateList_
private TId _id_
private PRegExp _regExp_
private TSlash _slash_
private PRegExp _lookAhead_
public ATokenDef()
public ATokenDef(PStateList _stateList_, TId _id_, PRegExp _regExp_, TSlash _slash_, PRegExp _lookAhead_)
public void apply(Switch sw)
public PStateList getStateList()
public void setStateList(PStateList node)
public TId getId()
public void setId(TId node)
public PRegExp getRegExp()
public void setRegExp(PRegExp node)
public TSlash getSlash()
public void setSlash(TSlash node)
public PRegExp getLookAhead()
public void setLookAhead(PRegExp node)
public java.lang.String toString()
toString
in class java.lang.Object
void removeChild(Node child)
removeChild
in class Node
void replaceChild(Node oldChild, Node newChild)
replaceChild
in class Node
Copyright © 1997-2015 Sablecc. All Rights Reserved.