org.media.mn8
Class mn8ScriptMethod
java.lang.Object
|
+--org.media.mn8.Concept
|
+--org.media.mn8.JavaConcept
|
+--org.media.mn8.mn8JavaMethod
|
+--org.media.mn8.mn8ScriptMethod
- All Implemented Interfaces:
- mn8Method
- public class mn8ScriptMethod
- extends mn8JavaMethod
Methods inherited from class org.media.mn8.mn8JavaMethod |
createFromFormalDef, findDeepMethod, getConceptDefinition, getLineNr, getMethodNameFromJavaSig, getMethodParamsFromJavaSig, getMethodSignature, getMethodUsingInheritance, getModifiers, getName, getParameterTypes, getReturnType, hasReturn, isStatic, setLineNr |
Methods inherited from class org.media.mn8.Concept |
areThereMoreElemenents, cloneConcept, extendsConcept, getAllInheritedConcepts, getAttributeValue, getConceptAttribute, getConceptAttribute, getConceptAttributeField, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptNamed, getConceptOperators, getConceptsAtPath, getConceptsAtPath, getConceptType, getErrorHandler, getInheritedConcepts, getMeAllElements, getResourceURI, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, hasPath, hasPath, isHidden, loadContent, printFields, printFields, searchDeeperForPath, searchSubElements, setConceptLabel, setErrorHandler, setHidden, setResourceURI, setShowEmpty, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts, subElementHasPath |
_cmStack
public static ScopeStack _cmStack
mn8ScriptMethod
public mn8ScriptMethod()
mn8ScriptMethod
public mn8ScriptMethod(String name,
boolean isStatic,
Vector paramTypes,
Vector paramNames,
mn8ConceptDefinition declaringConcept,
String returnType)
mn8ScriptMethod
public mn8ScriptMethod(antlr.collections.AST codeASTNode,
String[] tokenNames)
- Responsible of generating the mn8ScriptMethod from the script method def.
- Parameters:
codeASTNode
- AST Node, probably if it is a concept def, will be the root node.tokenNames
- the token names as returned by the parser.- See Also:
Parser
,
AST
cleanAll
public static void cleanAll()
ismn8SrcriptMethod
public static boolean ismn8SrcriptMethod(antlr.collections.AST codeASTNode,
String[] tokenNames)
getDeclaringConcept
public StringConcept getDeclaringConcept()
- Specified by:
getDeclaringConcept
in interface mn8Method
- Overrides:
getDeclaringConcept
in class mn8JavaMethod
invoke
public Concept invoke(Concept on,
SeriesConcept parameters)
- Specified by:
invoke
in interface mn8Method
- Overrides:
invoke
in class mn8JavaMethod
invoke
public Concept invoke(String conceptType,
SeriesConcept parameters)
- Specified by:
invoke
in interface mn8Method
- Overrides:
invoke
in class mn8JavaMethod
invokeErrorHandler
public Concept invokeErrorHandler(String setplace,
SeriesConcept parameters)
invokeErrorHandler
public Concept invokeErrorHandler(Concept setplace,
SeriesConcept parameters)
getConceptInstance
public Concept getConceptInstance()
- Overrides:
getConceptInstance
in class Concept
getSignature
public static String getSignature(String methodName,
Object[] paramTypes)
getSignatureFromVect
public static String getSignatureFromVect(String methodName,
Vector paramTypes)
getSignature
public String getSignature()
- Specified by:
getSignature
in interface mn8Method
- Overrides:
getSignature
in class mn8JavaMethod
hashCode
public int hashCode()
- Specified by:
hashCode
in interface mn8Method
- Overrides:
hashCode
in class mn8JavaMethod
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface mn8Method
- Overrides:
equals
in class mn8JavaMethod
setCodeAST
public void setCodeAST(antlr.collections.AST codeAST)
addCodeASTPiece
public void addCodeASTPiece(antlr.collections.AST pieceAST)
toTXT
public StringConcept toTXT()
- Overrides:
toTXT
in class mn8JavaMethod
toXML
public StringConcept toXML()
- Overrides:
toXML
in class mn8JavaMethod
clone
public Object clone()
- Overrides:
clone
in class mn8JavaMethod
getParameterNames
public SeriesConcept getParameterNames()
- Overrides:
getParameterNames
in class mn8JavaMethod
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."