Top Description Methods
org.jruby.ast

public Interface LiteralValue

Known Direct Implementers
org.jruby.ast.NumericNode, org.jruby.ast.RationalNode, org.jruby.ast.StrNode, org.jruby.ast.SymbolNode, org.jruby.ast.FloatNode
Imports
org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject

This represents the same function as NODE_LIT in MRI. All of these values are capable of being printed in error messages without neccesarily being defined in our Runtime (although SymbolNode does eagerly make RubySymbols. This is used in remove_duplicate_keys to look for repeated keys and also by flip logic.

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
literalValue(Ruby runtime)

Method Detail

literalValueback to summary
public IRubyObject literalValue(Ruby runtime)