Class Ident
java.lang.Object
org.torqlang.klvm.Ident
- All Implemented Interfaces:
CompleteOrIdent,Decl,DeclOrInstr,FeatureOrIdent,Kernel,LiteralOrIdent,ValueOrIdent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identstatic final Identfinal String -
Method Summary
Modifier and TypeMethodDescriptionfinal <T,R> R accept(KernelVisitor<T, R> visitor, T state) final StrasStr()final voidcaptureLexicallyFree(Set<Ident> knownBound, Set<Ident> lexicallyFree) static voidstatic Identstatic IdentcreatePrivately(String name) static IdentcreateSystemAnonymousIdent(int suffix) static IdentcreateSystemArgIdent(int suffix) static IdentcreateSystemVarIdent(int suffix) final booleanfinal Stringfinal inthashCode()static booleanisAlphaNumericOrUnderscore(char c) final booleanstatic booleanisSimpleName(String name) final booleanisSystem()static Stringstatic voidquote(String source, StringBuilder sb) final ValueresolveValue(Env env) final ValueOrVarresolveValueOrVar(Env env) final StringtoString()final VarMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.torqlang.klvm.Kernel
toKernelString
-
Field Details
-
$ACT
-
$ACTOR_CTOR
-
$ELSE
-
$FINALLY
-
$FOR
-
$GUARD
-
$HANDLER
-
$HANDLERS
-
$HANDLERS_CTOR
-
$IMPORT
-
$ITER
-
$M
-
$MAIN
-
$NEXT
-
$RESPOND
-
$R
-
$SELF
-
$SPAWN
-
$WHILE
-
name
-
-
Method Details
-
captureLexicallyFree
-
create
-
createPrivately
-
createSystemAnonymousIdent
-
createSystemArgIdent
-
createSystemVarIdent
-
isAlphaNumericOrUnderscore
public static boolean isAlphaNumericOrUnderscore(char c) -
isSimpleName
-
quote
-
quote
-
accept
-
asStr
-
captureLexicallyFree
- Specified by:
captureLexicallyFreein interfaceDeclOrInstr
-
equals
-
formatValue
-
hashCode
-
isAnonymous
public final boolean isAnonymous() -
isSystem
public final boolean isSystem() -
resolveValue
- Specified by:
resolveValuein interfaceValueOrIdent- Throws:
WaitVarException
-
resolveValueOrVar
- Specified by:
resolveValueOrVarin interfaceValueOrIdent
-
toString
-
toVar
- Specified by:
toVarin interfaceCompleteOrIdent
-