Class: Saxon::XSLT::EvaluationContext

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/saxon/xslt/evaluation_context.rb

Overview

Represents the evaluation context for an XSLT compiler, and stylesheets compiled using one. EvaluationContexts are immutable.

Defined Under Namespace

Modules: Common Classes: DSL

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Common

#args_hash, #initialize

Instance Attribute Details

#default_collationObject (readonly)

Returns the value of attribute default_collation.



143
144
145
# File 'lib/saxon/xslt/evaluation_context.rb', line 143

def default_collation
  @default_collation
end

#global_parametersObject (readonly)

Returns the value of attribute global_parameters.



143
144
145
# File 'lib/saxon/xslt/evaluation_context.rb', line 143

def global_parameters
  @global_parameters
end

#initial_template_parametersObject (readonly)

Returns the value of attribute initial_template_parameters.



143
144
145
# File 'lib/saxon/xslt/evaluation_context.rb', line 143

def initial_template_parameters
  @initial_template_parameters
end

#initial_template_tunnel_parametersObject (readonly)

Returns the value of attribute initial_template_tunnel_parameters.



143
144
145
# File 'lib/saxon/xslt/evaluation_context.rb', line 143

def initial_template_tunnel_parameters
  @initial_template_tunnel_parameters
end

#static_parametersObject (readonly)

Returns the value of attribute static_parameters.



143
144
145
# File 'lib/saxon/xslt/evaluation_context.rb', line 143

def static_parameters
  @static_parameters
end

Class Method Details

.define(block) ⇒ Saxon::XSLT::EvaluationContext

Executes the Proc/lambda passed in with a new instance of Saxon::XSLT::EvaluationContext as self, allowing the DSL methods to be called in a DSL-ish way



139
140
141
# File 'lib/saxon/xslt/evaluation_context.rb', line 139

def self.define(block)
  DSL.define(block)
end

Instance Method Details

#define(block) ⇒ Object



145
146
147
# File 'lib/saxon/xslt/evaluation_context.rb', line 145

def define(block)
  block.nil? ? self : DSL.define(block, args_hash)
end