Ed Summers > CQL-Parser > CQL::ProxNode

Download:
CQL-Parser-1.0.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: CQL-Parser-1.13

NAME ^

CQL::ProxNode - represents a PROX node in a CQL parse tree

SYNOPSIS ^

    use CQL::ProxNode;
    my $node = CQL::ProxNode->new( left => $left );
    $node->addSecondTerm( $right );

DESCRIPTION ^

METHODS ^

new() ^

Creates a new, incomplete, proximity node with the specified left-hand side. No right-hand side is specified at this stage: that must be specified later, using the addSecondSubterm() method. (That may seem odd, but it's just easier to write the parser that way.)

Proximity paramaters may be added at any time, before or after the right-hand-side sub-tree is added.

    my $prox = CQL::ProxNode->new( $term );

addSecondTerm()

addModifier()

getModifiers()

op()

opXCQL()

syntax highlighting: