public interface IsSymbol extends CategoryIs, HasID, HasScopedID, HasTokentype
| Modifier and Type | Method and Description |
|---|---|
IsSymbol |
changeCallScope(IsScopedID scIdent,
ScopeKey callScope,
SwitchKey state) |
IsSymbol |
changeCallScope(Map<IsScopedID,List<ScopeKey>> map,
SwitchKey state) |
Map<SwitchKey,Map<IsScopedID,List<ScopeKey>>> |
getCallScope() |
int |
getColumn()
Returns the column where the symbol is defined.
|
int |
getLine()
Returns the line where the symbol is defined.
|
String |
getSourceName()
Returns the source name, that is the source file, where the symbol is defined.
|
org.stringtemplate.v4.ST |
getST()
Returns the String Template for the symbol.
|
IsSymbol |
setCallScope(Map<SwitchKey,Map<IsScopedID,List<ScopeKey>>> map) |
IsSymbol |
setColum(int c)
Sets the column in which the symbol is defined.
|
IsSymbol |
setLine(int l)
Sets the line in which the symbol is defined.
|
IsSymbol |
setPosition(org.antlr.v4.runtime.tree.TerminalNode node)
Sets column, line and source for the symbol.
|
IsSymbol |
setPosition(org.antlr.v4.runtime.Token tk)
Sets column, line and source for the symbol.
|
IsSymbol |
setSourceName(String name)
Sets the source name of the symbol, that is the file in which the symbol is defined.
|
IsSymbol |
setST(org.stringtemplate.v4.ST st)
Sets the String Template for the symbol
|
getDescriptiongetScopedIDgetTypeint getColumn()
int getLine()
String getSourceName()
org.stringtemplate.v4.ST getST()
IsSymbol setColum(int c)
c - columnIsSymbol setLine(int l)
l - lineIsSymbol setPosition(org.antlr.v4.runtime.tree.TerminalNode node)
node - object with symbol informationIsSymbol setPosition(org.antlr.v4.runtime.Token tk)
tk - object with symbol informationIsSymbol setSourceName(String name)
name - sourceIsSymbol setST(org.stringtemplate.v4.ST st)
st - new string templateIsSymbol changeCallScope(IsScopedID scIdent, ScopeKey callScope, SwitchKey state)
Copyright © 2010–2015. All rights reserved.