Class: LogStash::Config::AST::Node
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- LogStash::Config::AST::Node
- Defined in:
- lib/logstash/config/config_ast.rb
Direct Known Subclasses
Attribute, Branch, BranchEntry, BranchOrPlugin, Comment, Condition, Config, HashEntries, HashEntry, MethodCall, Name, Plugin, PluginSection, Plugins, RValue, RegexpExpression, SelectorElement, Whitespace
Constant Summary
Constants included from LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers
LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers::AND_METHOD, LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers::BOOLEAN_DSL_METHOD_SIGNATURE, LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers::NAND_METHOD, LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers::OR_METHOD, LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers::XOR_METHOD
Instance Method Summary collapse
Methods included from LogStashCompilerLSCLGrammar::LogStash::Compiler::LSCL::AST::Helpers
#base_id, #base_protocol, #base_source_with_metadata, #base_source_with_metadata=, #compose, #compose_for, #jdsl, jdsl, #line_and_column, #source_meta
Instance Method Details
#text_value_for_comments ⇒ Object
69 70 71 |
# File 'lib/logstash/config/config_ast.rb', line 69 def text_value_for_comments text_value.gsub(/[\r\n]/, " ") end |