Module: Solargraph::Parser
- Extended by:
- selectedselected::ClassMethods
- Defined in:
- lib/solargraph/parser.rb,
lib/solargraph/parser/legacy.rb,
lib/solargraph/parser/region.rb,
lib/solargraph/parser/rubyvm.rb,
lib/solargraph/parser/snippet.rb,
lib/solargraph/parser/node_methods.rb,
lib/solargraph/parser/comment_ripper.rb,
lib/solargraph/parser/node_processor.rb,
lib/solargraph/parser/legacy/node_chainer.rb,
lib/solargraph/parser/legacy/node_methods.rb,
lib/solargraph/parser/node_processor/base.rb,
lib/solargraph/parser/rubyvm/node_chainer.rb,
lib/solargraph/parser/rubyvm/node_methods.rb,
lib/solargraph/parser/legacy/class_methods.rb,
lib/solargraph/parser/rubyvm/class_methods.rb,
lib/solargraph/parser/legacy/flawed_builder.rb,
lib/solargraph/parser/legacy/node_processors.rb,
lib/solargraph/parser/rubyvm/node_processors.rb,
lib/solargraph/parser/legacy/node_processors/def_node.rb,
lib/solargraph/parser/legacy/node_processors/sym_node.rb,
lib/solargraph/parser/rubyvm/node_processors/def_node.rb,
lib/solargraph/parser/rubyvm/node_processors/lit_node.rb,
lib/solargraph/parser/rubyvm/node_processors/sym_node.rb,
lib/solargraph/parser/legacy/node_processors/args_node.rb,
lib/solargraph/parser/legacy/node_processors/defs_node.rb,
lib/solargraph/parser/legacy/node_processors/send_node.rb,
lib/solargraph/parser/rubyvm/node_processors/args_node.rb,
lib/solargraph/parser/rubyvm/node_processors/defs_node.rb,
lib/solargraph/parser/rubyvm/node_processors/send_node.rb,
lib/solargraph/parser/legacy/node_processors/alias_node.rb,
lib/solargraph/parser/legacy/node_processors/begin_node.rb,
lib/solargraph/parser/legacy/node_processors/block_node.rb,
lib/solargraph/parser/legacy/node_processors/casgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/alias_node.rb,
lib/solargraph/parser/rubyvm/node_processors/begin_node.rb,
lib/solargraph/parser/rubyvm/node_processors/block_node.rb,
lib/solargraph/parser/rubyvm/node_processors/casgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/scope_node.rb,
lib/solargraph/parser/legacy/node_processors/cvasgn_node.rb,
lib/solargraph/parser/legacy/node_processors/gvasgn_node.rb,
lib/solargraph/parser/legacy/node_processors/ivasgn_node.rb,
lib/solargraph/parser/legacy/node_processors/lvasgn_node.rb,
lib/solargraph/parser/legacy/node_processors/orasgn_node.rb,
lib/solargraph/parser/legacy/node_processors/sclass_node.rb,
lib/solargraph/parser/rubyvm/node_processors/cvasgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/gvasgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/ivasgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/kw_arg_node.rb,
lib/solargraph/parser/rubyvm/node_processors/lvasgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/orasgn_node.rb,
lib/solargraph/parser/rubyvm/node_processors/sclass_node.rb,
lib/solargraph/parser/legacy/node_processors/resbody_node.rb,
lib/solargraph/parser/rubyvm/node_processors/opt_arg_node.rb,
lib/solargraph/parser/rubyvm/node_processors/resbody_node.rb,
lib/solargraph/parser/legacy/node_processors/namespace_node.rb,
lib/solargraph/parser/rubyvm/node_processors/namespace_node.rb
Defined Under Namespace
Modules: Legacy, NodeProcessor, Rubyvm Classes: CommentRipper, NodeMethods, Region, Snippet, SyntaxError
Class Method Summary collapse
-
.rubyvm? ⇒ Boolean
True if the parser can use RubyVM.
Class Method Details
.rubyvm? ⇒ Boolean
True if the parser can use RubyVM.
15 16 17 18 |
# File 'lib/solargraph/parser.rb', line 15 def self.rubyvm? !!defined?(RubyVM::AbstractSyntaxTree) # false end |