scopeHandler.rb

Path: scopeHandler.rb
Last Update: Sat Apr 15 11:06:43 CDT 2006

The ScopeHandler class, and its friends, are wrapper around the "scope rich", "xml style" output of the current document that TextMate provides. ScopeHandler processes the file with the help of ScopefileParser, and creates a ScopeTree containing all the structure. The nodes of the tree are instances of ScopeNode. (Feel free to) use at your own risk.

Version:1.2.1
Copyright:Charilaos Skiadas
Homepage:skiadas.dcostanet.net/afterthought/the-scopehandler-class/

Revision history:

4/12/06
Initial commit.
4/13/06
Added RDoc support.
4/14/06
Added nodesWithScope method.

The ScopeHandler class is the class you would use to access the information.

Usage:

  require 'scopeHandler.rb'
  handler = ScopeHandler.new(STDIN)
  # do stuff with handler

[Validate]