public class SharedMethodInfo extends Object
InternalMethod
objects are copied as properties such as visibility are changed. SharedMethodInfo
stores
the state that does not change, such as where the method was defined.Constructor and Description |
---|
SharedMethodInfo(com.oracle.truffle.api.source.SourceSection sourceSection,
LexicalScope lexicalScope,
String name,
boolean isBlock,
Node parseTree,
boolean alwaysSplit) |
Modifier and Type | Method and Description |
---|---|
LexicalScope |
getLexicalScope() |
String |
getName() |
Node |
getParseTree() |
com.oracle.truffle.api.source.SourceSection |
getSourceSection() |
boolean |
isBlock() |
boolean |
shouldAlwaysSplit() |
String |
toString() |
public SharedMethodInfo(com.oracle.truffle.api.source.SourceSection sourceSection, LexicalScope lexicalScope, String name, boolean isBlock, Node parseTree, boolean alwaysSplit)
public com.oracle.truffle.api.source.SourceSection getSourceSection()
public LexicalScope getLexicalScope()
public String getName()
public boolean isBlock()
public Node getParseTree()
public boolean shouldAlwaysSplit()
Copyright © 2001-2015 JRuby. All Rights Reserved.