gov.llnl.babel.ast
Class AttributeList
public class AttributeList
accept, getFilename, getFirstToken, getLastToken, getNodeId, getParent, getParseTreeNode, getSymbolTableEntry, setFirstToken, setLastToken, setNodeId, setParent, setParseTreeNode, setSymbolTableEntry |
addAttribute
public boolean addAttribute(Attribute attr)
getAttribute
public Attribute getAttribute(String builtin)
Returns builtin Attribute by name if it exists, null otherwise.
hasAttribute
public boolean hasAttribute(String builtin)
Returns true iff a named attribute is
hasAttribute
public boolean hasAttribute(String key,
String value) Check for matching key/value pair of attributes (or key, or value)
key - The matching key or asterisk (*) meaning "any"value - The matching value or asterisk (*) meaning "any"