public class Compiler.Eargs extends Compiler.Ctx
Constructor and Description |
---|
Eargs(Object[] eargs,
boolean[] needEval,
ArgList argList,
Compiler.ICtx ctx)
Create arguments list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String name)
Check existance of variable mapping with given name.
|
Object |
get(int argIdx,
Backtrace backtrace)
Get evaluated argument by its number.
|
Object |
get(String name,
Backtrace bt)
Return variable value.
|
void |
replace(String name,
Object val) |
int |
size() |
addMatches, findCtxFor, findCtxOrGlobal, findCtxOrLocal, findMatches, getCompiler, getLevel0, getMappings, getMappingsOrGlobal, getMappingsOrLocal, getMissHandler, getParentContexts, getPrev, getProp, getProps, getPropsMap, getPropsMapForPut, greplace, initCtxSettings, mkMappings, onMissingVar, put, putProp, putProps, putProps, remove, setMissHandler, toString, toStringSelf, toStringShort
public Eargs(Object[] eargs, boolean[] needEval, ArgList argList, Compiler.ICtx ctx)
public void replace(String name, Object val)
replace
in interface Compiler.ICtx
replace
in class Compiler.Ctx
public boolean contains(String name)
Compiler.Ctx
contains
in interface Compiler.ICtx
contains
in class Compiler.Ctx
public Object get(String name, Backtrace bt)
Compiler.Ctx
get
in interface Compiler.ICtx
get
in class Compiler.Ctx
public int size()
Copyright © 2022. All rights reserved.