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(int line)
Variable
public Variable(int scope,
int line)
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
_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)
throws BytecodeException
- Throws:
BytecodeException
getMembers
public List 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()
Copyright © 2012 Railo