railo.transformer.bytecode.expression.var
Class Variable
java.lang.Object
railo.transformer.bytecode.expression.ExpressionBase
railo.transformer.bytecode.expression.var.Variable
- All Implemented Interfaces:
- Expression, Invoker
public class Variable
- extends ExpressionBase
- implements Invoker
Variable
public Variable(Position start,
Position end)
Variable
public Variable(int scope,
Position start,
Position end)
getScope
public int getScope()
- Returns:
- the scope
setScope
public void setScope(int scope)
- Parameters:
scope
- the scope to set
addMember
public void addMember(Member member)
- Description copied from interface:
Invoker
- add a member to the invoker
- Specified by:
addMember
in interface Invoker
writeOutCollection
public final org.objectweb.asm.Type writeOutCollection(BytecodeContext bc,
int mode)
throws BytecodeException
- Throws:
BytecodeException
_writeOut
public org.objectweb.asm.Type _writeOut(BytecodeContext bc,
int mode)
throws BytecodeException
- Description copied from class:
ExpressionBase
- write out the stament to the adater
- Specified by:
_writeOut
in class ExpressionBase
- Returns:
- return Type of expression
- Throws:
BytecodeException
registerKey
public static boolean registerKey(BytecodeContext bc,
Expression name)
throws BytecodeException
- Throws:
BytecodeException
registerKey
public static boolean registerKey(BytecodeContext bc,
Expression name,
boolean doUpperCase)
throws BytecodeException
- Throws:
BytecodeException
canRegisterKey
public static boolean canRegisterKey(Expression name)
getMembers
public List<Member> getMembers()
- Description copied from interface:
Invoker
- returns all members as a List
- Specified by:
getMembers
in interface Invoker
- Returns:
- the members
getFirstMember
public Member getFirstMember()
- Returns:
- the first member or null if there no member
getLastMember
public Member getLastMember()
- Returns:
- the first member or null if there no member
ignoredFirstMember
public void ignoredFirstMember(boolean b)
ignoredFirstMember
public boolean ignoredFirstMember()
setFromHash
public void setFromHash(boolean fromHash)
fromHash
public boolean fromHash()
Copyright © 2012 Railo