Uses of Class
org.jruby.RubySymbol
Packages that use RubySymbol
Package
Description
-
Uses of RubySymbol in org.jruby
Methods in org.jruby that return RubySymbolModifier and TypeMethodDescriptionRubySymbol.asInstanceVariable()RubySymbol.asWriter()Make an instance variable out of this symbol (e.g.RubySymbol.SymbolTable.createSymbol(String name, boolean hard) Create a new symbol without looking for an existing one.RubySymbol.SymbolTable.fastGetSymbol(String internedName) RubySymbol.SymbolTable.fastGetSymbol(String internedName, boolean hard) Ruby.fastNewSymbol(String internedName) Faster thanRuby.newSymbol(String)if you already have an interned name String.RubySymbol.SymbolTable.getCalleeSymbolFromCompound(String compoundName) Get the callee name symbol from a compound name.RubySymbol.SymbolTable.getEncodingSymbol()RubySymbol.SymbolTable.getEncodingSymbolE()RubySymbol.SymbolTable.getMethodSymbolFromCompound(String compoundName) Get the method name symbol from a compound name.RubySymbol.SymbolTable.getSymbol(ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler, boolean hard) Get or retrieve an existing symbol from the table, invoking the given handler before return.static RubySymbolRubySymbol.getSymbolLong(Ruby runtime, long id) static RubySymbolRubySymbol.idSymbolFromObject(ThreadContext context, IRubyObject object) RubyString.FString.intern()RubyString.intern()Deprecated.RubyString.intern(ThreadContext context) RubySymbol.SymbolTable.lookup(long id) Deprecated.static RubySymbolRubySymbol.newCalleeSymbolFromCompound(Ruby runtime, String compoundName) static RubySymbolRubySymbol.newConstantSymbol(Ruby runtime, IRubyObject fqn, ByteList bytes) Deprecated.static RubySymbolRubySymbol.newConstantSymbol(ThreadContext context, IRubyObject fqn, ByteList bytes) Create a symbol whose intention is to be used as a constant.static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, String name) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, String name, org.jcodings.Encoding encoding) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, IRubyObject name) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes) Generic identifier symbol creation (or retrieval) method.static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Generic identifier symbol creation (or retrieval) method that invokes a handler before storing new symbols.static RubySymbolRubySymbol.newMethodSymbolFromCompound(Ruby runtime, String compoundName) Create a new Symbol or lookup a symbol from an ISO_8859_1 "id" String.static RubySymbolstatic RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, IRubyObject name) Deprecated.static RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Return the symbol in the symbol table if it exists, null otherwise.static RubySymbolRubySymbol.retrieveIDSymbol(IRubyObject name) When we know we need an entry in the symbol table because the provided name will be needed to be accessed as a valid identifier later we can call this.static RubySymbolRubySymbol.retrieveIDSymbol(IRubyObject name, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Retrieve an ID symbol but call the handler to verify the symbol is valid.RubyModule.symbolName()Deprecated.RubyModule.symbolName(ThreadContext context) Generate a fully-qualified class name or a #-style name as a Symbol.static RubySymbolRubySymbol.toSymbol(ThreadContext context, IRubyObject name) static RubySymbolRubySymbol.unmarshalFrom(UnmarshalStream input, UnmarshalStream.MarshalState state) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.jruby with parameters of type RubySymbolModifier and TypeMethodDescriptionprotected voidRubyModule.methodAdded(ThreadContext context, RubySymbol identifier) protected static IRubyObjectRubyKernel.methodMissingDirect(ThreadContext context, IRubyObject recv, RubySymbol symbol, Visibility lastVis, CallType lastCallType, IRubyObject[] args) voidRubySymbol.SymbolTable.store(RubySymbol symbol) Deprecated.Method parameters in org.jruby with type arguments of type RubySymbolModifier and TypeMethodDescriptionRubySymbol.SymbolTable.getSymbol(ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler, boolean hard) Get or retrieve an existing symbol from the table, invoking the given handler before return.static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Generic identifier symbol creation (or retrieval) method that invokes a handler before storing new symbols.static RubySymbolRubySymbol.newSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Return the symbol in the symbol table if it exists, null otherwise.static RubySymbolRubySymbol.retrieveIDSymbol(IRubyObject name, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Retrieve an ID symbol but call the handler to verify the symbol is valid.Constructors in org.jruby with parameters of type RubySymbolModifierConstructorDescriptionSymbolProcBody(Ruby runtime, String id, RubySymbol symbol) SymbolProcBody(Ruby runtime, String id, RubySymbol symbol, StaticScope scope) -
Uses of RubySymbol in org.jruby.api
Methods in org.jruby.api that return RubySymbolModifier and TypeMethodDescriptionstatic RubySymbolConvert.asSymbol(ThreadContext context, String string) Creates a new RubySymbol from the provided java String.static RubySymbolConvert.asSymbol(ThreadContext context, RubyString string) Creates a new RubySymbol from the provided java String.static RubySymbolConvert.asSymbol(ThreadContext context, ByteList bytelist) Creates a new RubySymbol from the provided java String.static RubySymbolConvert.castAsSymbol(ThreadContext context, IRubyObject newValue) Cast the given value to a RubySymbol with most basic typeError thrown if the value is not a RubySymbol.static RubySymbolCheck.checkID(ThreadContext context, IRubyObject obj) Convert the supplied object into an internal identifier String.static RubySymbolConvert.toSymbol(ThreadContext context, IRubyObject arg) Convert the given object to a Symbol, possibly calling to_str in the process. -
Uses of RubySymbol in org.jruby.ast
Fields in org.jruby.ast declared as RubySymbolModifier and TypeFieldDescriptionprotected final RubySymbolColon3Node.namefinal RubySymbolDefHolder.nameprotected final RubySymbolMethodDefNode.nameMethods in org.jruby.ast that return RubySymbolModifier and TypeMethodDescriptionArgumentNode.getName()AttrAssignNode.getName()Gets the name.BlockArgNode.getName()Get the name of this block argumentCallNode.getName()Gets the name.ClassVarAsgnNode.getName()Gets the name.ClassVarDeclNode.getName()Deprecated.Gets the name.ClassVarNode.getName()Gets the name.Colon3Node.getName()Gets the name.ConstDeclNode.getName()Gets the name (this is the rightmost element of lhs (in Foo::BAR it is BAR).ConstNode.getName()Gets the name.DAsgnNode.getName()Gets the name.DVarNode.getName()Gets the name.FCallNode.getName()Gets the name.GlobalAsgnNode.getName()Gets the name.GlobalVarNode.getName()Gets the name.InstAsgnNode.getName()Gets the name.InstVarNode.getName()Gets the name.LocalAsgnNode.getName()Name of the local assignment.LocalVarNode.getName()What is the name of this variableMethodDefNode.getName()Gets the name.OptArgNode.getName()SymbolNode.getName()Gets the name.VCallNode.getName()Gets the methodName.VAliasNode.getNewName()Gets the newName.VAliasNode.getOldName()Gets the oldName.OpAsgnNode.getOperatorSymbolName()OpElementAsgnNode.getOperatorSymbolName()LiteralNode.getSymbolName()OpAsgnConstDeclNode.getSymbolOperator()OpAsgnNode.getVariableSymbolName()OpAsgnNode.getVariableSymbolNameAsgn()Constructors in org.jruby.ast with parameters of type RubySymbolModifierConstructorDescriptionArgumentNode(int line, RubySymbol identifier, int location) AttrAssignNode(int line, Node receiverNode, RubySymbol name, Node argsNode, Node blockNode, boolean isLazy) BlockArgNode(int line, int count, RubySymbol name) CallNode(int line, Node receiverNode, RubySymbol name, Node argsNode, Node iterNode, boolean isLazy) ClassVarAsgnNode(int line, RubySymbol name, Node valueNode) ClassVarDeclNode(int line, RubySymbol name, Node valueNode) Deprecated.ClassVarNode(int line, RubySymbol name) Colon2ConstNode(int line, Node leftNode, RubySymbol name) Colon2ImplicitNode(int line, RubySymbol name) Colon2Node(int line, Node leftNode, RubySymbol name) Colon3Node(int line, RubySymbol name) protectedColon3Node(int line, RubySymbol name, boolean containsAssignment) ConstDeclNode(int line, RubySymbol name, INameNode constNode, Node valueNode) ConstNode(int line, RubySymbol name) DAsgnNode(int line, RubySymbol name, int location, Node valueNode) DefHolder(RubySymbol name, ByteList currentArg, LexContext ctxt) DefHolder(RubySymbol name, ByteList currentArg, IRubyObject value, LexContext ctxt) DefnNode(int line, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) DefsNode(int line, Node receiverNode, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) DVarNode(int line, int location, RubySymbol name) FCallNode(int line, RubySymbol name) FCallNode(int line, RubySymbol name, Node argsNode, Node iterNode) GlobalAsgnNode(int line, RubySymbol name, Node valueNode) GlobalVarNode(int line, RubySymbol name) InstAsgnNode(int line, RubySymbol name, Node valueNode) InstVarNode(int line, RubySymbol name) KeywordRestArgNode(int line, RubySymbol name, int index) LiteralNode(int line, RubySymbol name) LocalAsgnNode(int line, RubySymbol name, int location, Node valueNode) LocalVarNode(int line, int location, RubySymbol name) MethodDefNode(int line, RubySymbol name, ArgsNode argsNode, StaticScope scope, Node bodyNode, int endLine) OpAsgnConstDeclNode(int line, Node lhs, RubySymbol operator, Node rhs) OpAsgnNode(int line, Node receiverNode, Node valueNode, RubySymbol variableName, RubySymbol operatorName, boolean isLazy) OpElementAsgnNode(int line, Node receiverNode, RubySymbol operatorName, Node argsNode, Node valueNode, Node blockNode) RestArgNode(int line, RubySymbol name, int index) SymbolNode(int line, RubySymbol value) UnnamedRestArgNode(int line, RubySymbol name, int index) VAliasNode(int line, RubySymbol newName, RubySymbol oldName) VCallNode(int line, RubySymbol name) -
Uses of RubySymbol in org.jruby.ast.executable
Fields in org.jruby.ast.executable declared as RubySymbolMethods in org.jruby.ast.executable that return RubySymbolModifier and TypeMethodDescriptionfinal RubySymbolAbstractScript.getSymbol(ThreadContext context, int i, String name, String encoding) final RubySymbolRuntimeCache.getSymbol(ThreadContext context, int index, String name, String encodingName) final RubySymbolAbstractScript.getSymbol0(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol1(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol2(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol3(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol4(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol5(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol6(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol7(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol8(ThreadContext context, String name, String encoding) final RubySymbolAbstractScript.getSymbol9(ThreadContext context, String name, String encoding) -
Uses of RubySymbol in org.jruby.ast.types
Methods in org.jruby.ast.types that return RubySymbol -
Uses of RubySymbol in org.jruby.ast.util
Fields in org.jruby.ast.util with type parameters of type RubySymbolModifier and TypeFieldDescriptionstatic final RubyHash.VisitorWithState<Set<RubySymbol>> ArgsUtil.MULTI_KEY_CHECK_VISITORstatic final RubyHash.VisitorWithState<RubySymbol> ArgsUtil.SINGLE_KEY_CHECK_VISITOR -
Uses of RubySymbol in org.jruby.ast.visitor
Methods in org.jruby.ast.visitor that return types with arguments of type RubySymbolModifier and TypeMethodDescriptionstatic Set<RubySymbol> InstanceVariableFinder.findVariables(Node node) Walk a node and its children looking for instance variables using a new InstanceVariableFinder.InstanceVariableFinder.getFoundVariables()Return the Set of all instance variables found during walking.Constructors in org.jruby.ast.visitor with parameters of type RubySymbolModifierConstructorDescriptionOperatorCallNode(int line, Node receiverNode, RubySymbol name, Node argsNode, Node iterNode, boolean isLazy) -
Uses of RubySymbol in org.jruby.ext.ripper
Methods in org.jruby.ext.ripper that return RubySymbolModifier and TypeMethodDescriptionRipperParserBase.get_id(IRubyObject _ignored) RipperParserBase.symbolID(IRubyObject ident) -
Uses of RubySymbol in org.jruby.internal.runtime.methods
Methods in org.jruby.internal.runtime.methods with parameters of type RubySymbolModifier and TypeMethodDescriptionbooleanDynamicMethod.callRespondTo(ThreadContext context, IRubyObject self, String respondToMethodName, RubyModule klazz, RubySymbol name) -
Uses of RubySymbol in org.jruby.ir
Methods in org.jruby.ir that return RubySymbolModifier and TypeMethodDescriptionIRManager.getMetaClassName()IRScope.getName()IRScriptBody.getName()Methods in org.jruby.ir that return types with arguments of type RubySymbolModifier and TypeMethodDescriptionIRScope.getLocalVariables()Get the local variables for this scope.Methods in org.jruby.ir with parameters of type RubySymbolModifier and TypeMethodDescriptionprotected LocalVariableIRClosure.findExistingLocalVariable(RubySymbol name, int scopeDepth) protected LocalVariableIRMethod.findExistingLocalVariable(RubySymbol name, int scopeDepth) protected LocalVariableIRScope.findExistingLocalVariable(RubySymbol name, int depth) IRClosure.getLocalVariable(RubySymbol name, int depth) IRMethod.getLocalVariable(RubySymbol name, int scopeDepth) IRScope.getLocalVariable(RubySymbol name, int scopeDepth) Find or create a local variable.IRClosure.getNewLocalVariable(RubySymbol name, int depth) IRScope.getNewLocalVariable(RubySymbol name, int scopeDepth) IRScope.lookupExistingLVar(RubySymbol name) -
Uses of RubySymbol in org.jruby.ir.builder
Methods in org.jruby.ir.builder that return RubySymbolModifier and TypeMethodDescriptionIRBuilder.getName()protected RubySymbolIRBuilder.methodNameFor()protected RubySymbolprotected RubySymbolMethods in org.jruby.ir.builder with parameters of type RubySymbolModifier and TypeMethodDescriptionprotected VariablevoidIRBuilder.addArgumentDescription(ArgumentType type, RubySymbol name) protected VariableIRBuilder.argumentResult(RubySymbol name) protected OperandIRBuilder.buildAttrAssign(Variable result, U receiver, U argsNode, U blockNode, RubySymbol name, boolean isLazy, boolean containsAssignment) protected OperandIRBuilder.buildClassVar(Variable result, RubySymbol name) protected OperandIRBuilder.buildClassVarAsgn(RubySymbol name, U valueNode) protected VariableIRBuilder.buildClassVarGetDefinition(RubySymbol name) protected VariableIRBuilder.buildConstantGetDefinition(RubySymbol name) protected OperandIRBuilder.buildGlobalAsgn(RubySymbol name, U valueNode) protected OperandIRBuilder.buildGlobalVar(Variable result, RubySymbol name) protected VariableIRBuilder.buildGlobalVarGetDefinition(RubySymbol name) protected OperandIRBuilder.buildInstAsgn(RubySymbol name, U valueNode) protected OperandIRBuilder.buildInstVar(RubySymbol name) protected OperandIRBuilder.buildInstVarGetDefinition(RubySymbol name) protected voidIRBuilder.buildIterInner(RubySymbol methodName, U var, U body, int endLine) protected OperandIRBuilder.buildLocalVariableAssign(RubySymbol name, int depth, U valueNode) protected OperandIRBuilder.buildOpAsgn(U receiver, U value, RubySymbol reader, RubySymbol writer, RubySymbol operator, boolean isLazy) protected OperandIRBuilder.buildOpAsgnConstDecl(Y left, RubySymbol name, U right, RubySymbol operator) protected OperandIRBuilder.buildOpAsgnConstDecl(Y left, U right, RubySymbol operator) Deprecated.protected OperandIRBuilder.buildOpAsgnConstDeclAnd(U left, U right, RubySymbol leftName) protected OperandIRBuilder.buildOpAsgnConstDeclOr(U left, U right, RubySymbol leftName) protected OperandIRBuilder.buildOpElementAsgnWithMethod(U receiver, U args, U block, U value, RubySymbol operator) protected voidIRBuilder.buildPatternLocal(Operand value, RubySymbol name, int line, int depth, boolean inAlternation) IRBuilder.buildVAlias(RubySymbol left, RubySymbol right) protected VariableIRBuilder.call(Variable result, Operand object, RubySymbol name, Operand... args) protected VariableIRBuilder.createCall(Variable result, Operand receiver, CallType callType, RubySymbol name, U argsNode, U iter, int line, boolean isNewline) protected voidIRBuilder.determineIfMaybeRefined(RubySymbol methodName, Operand[] args) protected VariableIRBuilder.fcall(Variable result, Operand object, RubySymbol name, Operand... args) protected LocalVariableIRBuilderAST.getArgVariable(RubySymbol name, int depth) protected LocalVariableIRBuilderAST.getBlockArgVariable(RubySymbol name, int depth) abstract LocalVariableIRBuilder.getLocalVariable(RubySymbol name, int scopeDepth) IRBuilderAST.getLocalVariable(RubySymbol name, int scopeDepth) IRBuilder.getNewLocalVariable(RubySymbol name, int scopeDepth) protected OperandIRBuilder.putConstant(Operand parent, RubySymbol name, Operand value) protected OperandIRBuilder.putConstant(RubySymbol name, Operand value) protected OperandIRBuilder.searchConst(Variable result, RubySymbol name) protected OperandIRBuilder.searchModuleForConst(Variable result, Operand startingModule, RubySymbol name) protected OperandIRBuilder.searchModuleForConstNoFrills(Variable result, Operand startingModule, RubySymbol name) -
Uses of RubySymbol in org.jruby.ir.instructions
Fields in org.jruby.ir.instructions declared as RubySymbolModifier and TypeFieldDescriptionfinal RubySymbolReceiveKeywordArgInstr.keyprotected final RubySymbolCallBase.nameprotected final RubySymbolPutInstr.nameMethods in org.jruby.ir.instructions that return RubySymbolModifier and TypeMethodDescriptionPushBlockFrameInstr.getFrameName()PushMethodFrameInstr.getFrameName()ReceiveKeywordArgInstr.getKey()CallBase.getName()GetInstr.getName()InheritanceSearchConstInstr.getName()LexicalSearchConstInstr.getName()PutInstr.getName()RaiseRequiredKeywordArgumentError.getName()SearchConstInstr.getName()SearchModuleForConstInstr.getName()SetCapturedVarInstr.getName()Methods in org.jruby.ir.instructions with parameters of type RubySymbolModifier and TypeMethodDescriptionstatic AttrAssignInstrAttrAssignInstr.create(IRScope scope, Operand obj, RubySymbol attr, Operand[] args, int flags, boolean isPotentiallyRefined) static AttrAssignInstrAttrAssignInstr.create(IRScope scope, Operand obj, RubySymbol attr, Operand[] args, Operand block, int flags, boolean isPotentiallyRefined) static CallInstrCallInstr.create(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags) static NoResultCallInstrNoResultCallInstr.create(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined) Constructors in org.jruby.ir.instructions with parameters of type RubySymbolModifierConstructorDescriptionAttrAssignInstr(IRScope scope, Operand obj, RubySymbol attr, Operand[] args, Operand block, int flags, boolean isPotentiallyRefined) protectedAttrAssignInstr(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) protectedCallBase(IRScope scope, Operation op, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined) protectedCallBase(IRScope scope, Operation op, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) protectedCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined) protectedCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) CallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined) ClassSuperInstr(IRScope scope, Variable result, Operand definingModule, RubySymbol name, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined) protectedClassSuperInstr(IRScope scope, Variable result, Operand receiver, RubySymbol name, Operand[] args, Operand closure, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) GetClassVariableInstr(Variable dest, Operand scope, RubySymbol variableName) GetFieldInstr(Variable dest, Operand obj, RubySymbol fieldName, boolean rawValue) GetGlobalVariableInstr(Variable dest, RubySymbol gvarName) GetInstr(Operation op, Variable result, Operand source, RubySymbol name) InheritanceSearchConstInstr(Variable result, Operand currentModule, RubySymbol constName) InstanceSuperInstr(IRScope scope, Variable result, Operand definingModule, RubySymbol name, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined) protectedInstanceSuperInstr(IRScope scope, Variable result, Operand definingModule, RubySymbol name, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) LexicalSearchConstInstr(Variable result, Operand definingScope, RubySymbol constantName) NoResultCallInstr(IRScope scope, Operation op, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined) protectedNoResultCallInstr(IRScope scope, Operation op, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) PushBlockFrameInstr(Variable result, RubySymbol frameName) PushMethodFrameInstr(RubySymbol frameName, Visibility visibility) PutClassVariableInstr(Operand scope, RubySymbol variableName, Operand value) PutConstInstr(Operand scopeOrObj, RubySymbol constantName, Operand val) PutFieldInstr(Operand obj, RubySymbol fieldName, Operand value) PutGlobalVarInstr(RubySymbol varName, Operand value) PutInstr(Operation op, Operand target, RubySymbol name, Operand value) ReceiveKeywordArgInstr(Variable result, Variable keyword, RubySymbol key) SearchConstInstr(Variable result, Operand startingScope, RubySymbol constantName, boolean noPrivateConsts) SearchModuleForConstInstr(Variable result, Operand currentModule, RubySymbol constantName, boolean noPrivateConsts) SearchModuleForConstInstr(Variable result, Operand currentModule, RubySymbol constantName, boolean noPrivateConsts, boolean callConstMissing) SetCapturedVarInstr(Variable result, Operand match2Result, RubySymbol variableName) TraceInstr(RubyEvent event, Operand module, RubySymbol name, String filename, int linenumber) -
Uses of RubySymbol in org.jruby.ir.instructions.specialized
Constructors in org.jruby.ir.instructions.specialized with parameters of type RubySymbolModifierConstructorDescriptionOneArgOperandAttrAssignInstr(IRScope scope, Operand obj, RubySymbol attr, Operand[] args, int flags, boolean isPotentiallyRefined) protectedOneArgOperandAttrAssignInstr(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) OneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined) protectedOneFixnumArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) OneFloatArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined) protectedOneFloatArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) OneOperandArgBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined) OneOperandArgBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) OneOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined) OneOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) OneOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined) OneOperandArgNoBlockNoResultCallInstr(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean isPotentiallyRefined) protectedOneOperandArgNoBlockNoResultCallInstr(IRScope scope, CallType callType, RubySymbol name, Operand receiver, Operand[] args, Operand closure, int flags, boolean potentiallyRefined, CallSite callSite, long callSiteId) TwoOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined) protectedTwoOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) protectedZeroOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined) ZeroOperandArgNoBlockCallInstr(IRScope scope, Operation op, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined, CallSite callSite, long callSiteId) ZeroOperandArgNoBlockCallInstr(IRScope scope, CallType callType, Variable result, RubySymbol name, Operand receiver, Operand[] args, int flags, boolean isPotentiallyRefined) -
Uses of RubySymbol in org.jruby.ir.interpreter
Methods in org.jruby.ir.interpreter that return RubySymbol -
Uses of RubySymbol in org.jruby.ir.operands
Fields in org.jruby.ir.operands declared as RubySymbolMethods in org.jruby.ir.operands that return RubySymbolModifier and TypeMethodDescriptionLocalVariable.getName()Reference.getName()SymbolProc.getName()Symbol.getSymbol()Constructors in org.jruby.ir.operands with parameters of type RubySymbolModifierConstructorDescriptionClosureLocalVariable(RubySymbol name, int scopeDepth, int location) ClosureLocalVariable(RubySymbol name, int scopeDepth, int location, boolean isOuterScopeVar) FrozenString(RubySymbol symbol) GlobalVariable(RubySymbol name) LocalVariable(RubySymbol name, int scopeDepth, int location) LocalVariable(RubySymbol name, int scopeDepth, int location, boolean isOuterScopeVar) MutableString(RubySymbol symbol) Reference(RubySymbol name) Symbol(RubySymbol symbol) SymbolProc(RubySymbol name) -
Uses of RubySymbol in org.jruby.ir.persistence
Methods in org.jruby.ir.persistence that return RubySymbolMethods in org.jruby.ir.persistence with parameters of type RubySymbolModifier and TypeMethodDescriptionvoidIRWriterAnalyzer.encode(RubySymbol value) voidIRWriterEncoder.encode(RubySymbol value) voidIRWriterStream.encode(RubySymbol symbol) voidIRWriterAnalyzer.encodeRaw(RubySymbol value) voidIRWriterEncoder.encodeRaw(RubySymbol value) voidIRWriterStream.encodeRaw(RubySymbol symbol) -
Uses of RubySymbol in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RubySymbolModifier and TypeMethodDescriptionstatic RubySymbolIRRuntimeHelpers.newDSymbol(ThreadContext context, IRubyObject symbol) Methods in org.jruby.ir.runtime with parameters of type RubySymbolModifier and TypeMethodDescriptionstatic RubyProcIRRuntimeHelpers.newSymbolProc(ThreadContext context, RubySymbol symbol) Create a new Symbol.to_proc for the given symbol name and encoding.static IRubyObjectIRRuntimeHelpers.receiveKeywordArg(IRubyObject keywords, RubySymbol key) -
Uses of RubySymbol in org.jruby.ir.targets.simple
Constructors in org.jruby.ir.targets.simple with parameters of type RubySymbol -
Uses of RubySymbol in org.jruby.parser
Methods in org.jruby.parser that return RubySymbolModifier and TypeMethodDescriptionMethods in org.jruby.parser with parameters of type RubySymbolModifier and TypeMethodDescriptionStaticScope.addAssign(int line, RubySymbol symbolID, Node value) voidScopedParserState.addDefinedVariable(RubySymbol name, int line) RubyParserBase.arg_var(RubySymbol name) StaticScope.assign(int line, RubySymbol name, Node value) Make a DASgn or LocalAsgn node based on scope logic Note: This is private code made public only for parser.StaticScope.assign(int line, RubySymbol symbolID, Node value, StaticScope topScope, int depth) StaticScope.assignKeyword(int line, RubySymbol symbolID, Node value) Register a keyword argument with this staticScope.StaticScope.declare(int line, RubySymbol symbolID) Make a DVar or LocalVar node based on scoping logicStaticScope.declare(int line, RubySymbol symbolID, int depth) protected voidRubyParserBase.getterIdentifierError(RubySymbol identifier) voidScopedParserState.markUsedVariable(RubySymbol name, int depth) voidRubyParserBase.numparam_name(RubySymbol name) protected voidRubyParserBase.setCurrentArg(RubySymbol value) -
Uses of RubySymbol in org.jruby.runtime
Fields in org.jruby.runtime declared as RubySymbolModifier and TypeFieldDescriptionfinal RubySymbolArgumentDescriptor.nameThe name of the argumentMethods in org.jruby.runtime that return RubySymbolModifier and TypeMethodDescriptionstatic RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context) static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.Methods in org.jruby.runtime with parameters of type RubySymbolModifier and TypeMethodDescriptionstatic RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context) static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static VisibilityHelpers.performNormalMethodChecksAndDetermineVisibility(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility) Deprecated.static VisibilityHelpers.performNormalMethodChecksAndDetermineVisibility(ThreadContext context, RubyModule clazz, RubySymbol symbol, Visibility visibility) ArgumentType.toArrayForm(Ruby runtime, RubySymbol name) Deprecated.ArgumentType.toArrayForm(ThreadContext context, RubySymbol name) Constructors in org.jruby.runtime with parameters of type RubySymbol -
Uses of RubySymbol in org.jruby.runtime.marshal
Methods in org.jruby.runtime.marshal that return RubySymbolModifier and TypeMethodDescriptionstatic RubySymbolMarshalDumper.getPathFromClass(ThreadContext context, RubyModule clazz) MarshalLoader.symbol(ThreadContext context, RubyInputStream in) UnmarshalStream.symbol()Deprecated, for removal: This API element is subject to removal in a future version.MarshalLoader.unique(ThreadContext context, RubyInputStream in) UnmarshalStream.unique()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.jruby.runtime.marshal with parameters of type RubySymbolModifier and TypeMethodDescriptionvoidUnmarshalCache.registerSymbolLink(RubySymbol value) Deprecated, for removal: This API element is subject to removal in a future version.org.jcodings.EncodingUnmarshalStream.symbolToEncoding(RubySymbol symbol, IRubyObject value) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of RubySymbol in org.jruby.util
Methods in org.jruby.util that return RubySymbolModifier and TypeMethodDescriptionstatic RubySymbolDeprecated.static RubySymbolTypeConverter.checkID(IRubyObject obj) Deprecated.