public class Filename extends StringLiteral
bytelist, coderange, EMPTY_STRING, string
EMPTY_ARRAY
Constructor and Description |
---|
Filename(org.jruby.util.ByteList filename) |
Modifier and Type | Method and Description |
---|---|
static Filename |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
boolean |
hasKnownValue()
Do we know the value of this operand at compile-time?
If we do then it may be possible to constant propagate (one case:
We also know it is also an ImmutableLiteral).
|
addUsedVariables, cloneForInlining, equals, getByteList, getCodeRange, getString, hashCode, retrieve, toString, visit
canCopyPropagate, getOperandType, getSimplifiedOperand, getValue
public boolean hasKnownValue()
Operand
hasKnownValue
in class StringLiteral
public void encode(IRWriterEncoder e)
encode
in class StringLiteral
public static Filename decode(IRReaderDecoder d)
Copyright © 2001-2015 JRuby. All Rights Reserved.