org.codehaus.gmaven.runtime.support.stubgen.parser
Interface Node

All Known Implementing Classes:
NodeSupport

public interface Node

Abstraction of nodes of a parse tree.

Version:
$Id: Node.java 18 2009-07-16 09:39:40Z user57 $
Author:
Jason Dillon

Method Summary
 int column()
           
 void dump()
           
 void dump(String pad)
           
 void ensure(String name)
           
 Node firstChild()
           
 boolean is(String name)
           
 boolean is(String[] names)
           
 boolean isLeaf()
           
 int line()
           
 Node nextSibling()
           
 Node skip(String name)
           
 String text()
           
 

Method Detail

text

String text()

isLeaf

boolean isLeaf()

firstChild

Node firstChild()

nextSibling

Node nextSibling()

line

int line()

column

int column()

is

boolean is(String name)

is

boolean is(String[] names)

ensure

void ensure(String name)
            throws UnexpectedNodeException
Throws:
UnexpectedNodeException

skip

Node skip(String name)
          throws UnexpectedNodeException
Throws:
UnexpectedNodeException

dump

void dump()

dump

void dump(String pad)


Copyright © 2006-2012 Codehaus. All Rights Reserved.