public abstract class AbstractScriptEntity extends AbstractCodeEntity
Ast, cfg, src, type, typesFIELD_ENTITY, FILE_ENTITY, FUNCTION_ENTITY, GLOBAL_ENTITY, MACRO_ENTITY, RULE_ENTITY, SCRIPT_ENTITY, SUB_LANGUAGE_BASE, TYPE_ENTITY| Constructor and Description |
|---|
AbstractScriptEntity(java.io.File file,
CAstType type) |
AbstractScriptEntity(java.lang.String file,
CAstType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
getArgumentCount()
Some programming language constructs have a specific number of arguments.
|
CAstNode[] |
getArgumentDefaults()
Some programming language constructs allow arguments to have default values.
|
java.lang.String[] |
getArgumentNames()
Some programming language constructs have named arguments.
|
protected java.io.File |
getFile() |
java.lang.String |
getFileName() |
int |
getKind()
What kind of entity is this? The answer should be one of the constants in this file.
|
java.lang.String |
getName()
Some programming language constructs have names.
|
java.util.Collection<CAstQualifier> |
getQualifiers()
Returns an Iterator over the qualifiers of the given entity, if it has any, e.g., "final",
"private".
|
java.lang.String |
toString() |
getAST, getControlFlow, getNodeTypeMap, getSourceMap, getType, setAst, setGotoTarget, setLabelledGotoTarget, setNodePosition, setNodeTypeaddScopedEntity, getAllScopedEntities, getAnnotations, getPosition, getScopedEntities, getSignature, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamePosition, getOriginal, getPositionpublic AbstractScriptEntity(java.io.File file,
CAstType type)
public AbstractScriptEntity(java.lang.String file,
CAstType type)
public int getKind()
CAstEntityprotected java.io.File getFile()
public java.lang.String getName()
CAstEntitypublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String[] getArgumentNames()
CAstEntitypublic CAstNode[] getArgumentDefaults()
CAstEntitypublic int getArgumentCount()
CAstEntitypublic java.util.Collection<CAstQualifier> getQualifiers()
CAstEntitypublic java.lang.String getFileName()