Package gw.internal.gosu.parser
Class ReducedSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.ReducedSymbol
-
- All Implemented Interfaces:
IReducedSymbol
- Direct Known Subclasses:
ReducedDynamicFunctionSymbol
,ReducedDynamicPropertySymbol
public class ReducedSymbol extends Object implements IReducedSymbol
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReducedSymbol.SyntheticSymbol
-
Field Summary
Fields Modifier and Type Field Description protected String
_fullDescription
-
Constructor Summary
Constructors Constructor Description ReducedSymbol(ISymbol arg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<IGosuAnnotation>
getAnnotations()
IExpression
getDefaultValueExpression()
String
getDisplayName()
String
getFullDescription()
IGosuClassInternal
getGosuClass()
int
getIndex()
int
getModifiers()
String
getName()
IScriptPartId
getScriptPart()
Class<?>
getSymbolClass()
IType
getType()
boolean
hasTypeVariables()
boolean
isAbstract()
boolean
isFinal()
boolean
isInternal()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isReified()
boolean
isStatic()
boolean
isValueBoxed()
static List<ISymbol>
makeArgs(List<IReducedSymbol> args)
-
-
-
Field Detail
-
_fullDescription
protected String _fullDescription
-
-
Constructor Detail
-
ReducedSymbol
public ReducedSymbol(ISymbol arg)
-
-
Method Detail
-
getSymbolClass
public Class<?> getSymbolClass()
- Specified by:
getSymbolClass
in interfaceIReducedSymbol
-
isValueBoxed
public boolean isValueBoxed()
- Specified by:
isValueBoxed
in interfaceIReducedSymbol
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceIReducedSymbol
-
getDefaultValueExpression
public IExpression getDefaultValueExpression()
- Specified by:
getDefaultValueExpression
in interfaceIReducedSymbol
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceIReducedSymbol
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceIReducedSymbol
-
getAnnotations
public List<IGosuAnnotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceIReducedSymbol
-
getName
public String getName()
- Specified by:
getName
in interfaceIReducedSymbol
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceIReducedSymbol
-
getFullDescription
public String getFullDescription()
- Specified by:
getFullDescription
in interfaceIReducedSymbol
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceIReducedSymbol
-
isInternal
public boolean isInternal()
- Specified by:
isInternal
in interfaceIReducedSymbol
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceIReducedSymbol
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceIReducedSymbol
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceIReducedSymbol
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interfaceIReducedSymbol
-
isReified
public boolean isReified()
- Specified by:
isReified
in interfaceIReducedSymbol
-
getType
public IType getType()
- Specified by:
getType
in interfaceIReducedSymbol
-
getScriptPart
public IScriptPartId getScriptPart()
- Specified by:
getScriptPart
in interfaceIReducedSymbol
-
getGosuClass
public IGosuClassInternal getGosuClass()
- Specified by:
getGosuClass
in interfaceIReducedSymbol
-
hasTypeVariables
public boolean hasTypeVariables()
- Specified by:
hasTypeVariables
in interfaceIReducedSymbol
-
makeArgs
public static List<ISymbol> makeArgs(List<IReducedSymbol> args)
-
-