SmartFrog 3.10.000

org.smartfrog.sfcore.languages.csf
Class DefaultParser

java.lang.Object
  extended by org.smartfrog.sfcore.languages.csf.DefaultParser
All Implemented Interfaces:
DefaultParserConstants

public class DefaultParser
extends java.lang.Object
implements DefaultParserConstants


Field Summary
protected  IncludeHandler includeHandler
           
 Token jj_nt
           
 Token token
           
 DefaultParserTokenManager token_source
           
 
Fields inherited from interface org.smartfrog.sfcore.languages.csf.DefaultParserConstants
AND, APPEND, APPLY, ATTRIB, BYTEARRAY, CODEBASE, COMMA, CONCAT, DATA, DEFAULT, DIGIT, DIV, DOUBLE, ELSE, EOF, EQ, EXPONENT, EXTENDS, FALSE, FI, FLOAT, FLOAT_BASE, FORMAL_COMMENT, GE, GT, HERE, HOST, IF, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCLUDE, INTEGER, IPROPERTY, LAZY, LBRACE, LBRACKET, LE, LETTER, LONG, LT, MINUS, MULTI_LINE_COMMENT, MULTILINESTRING, NE, NOT, NULL, OPEND, OPSTART, OR, PARENT, PROCESS, PROPERTY, RBRACE, RBRACKET, REFPARTSEP, ROOT, SEMICOLON, SPECIAL, STRING, SUCHTHAT, SUM, THEN, THIS, TIMES, tokenImage, TRUE, UNIQUE, VAR, VECTOREND, VECTORSTART, WORD
 
Constructor Summary
DefaultParser(DefaultParserTokenManager tm)
           
DefaultParser(java.io.InputStream stream)
           
DefaultParser(java.io.InputStream is, IncludeHandler handler)
           
DefaultParser(java.io.Reader stream)
           
 
Method Summary
 java.lang.Object AnyValue()
           
 java.lang.Object[] Attribute()
           
 java.util.Vector AttributeList()
           
 java.util.Vector AttributeListNoEOF()
           
 void Attributes(CSFComponentDescription descr)
           
 void AttributesNoEOF(CSFComponentDescription descr)
           
 void BaseComponent(CSFComponentDescription comp)
           
 SFReference BaseReference()
           
 java.lang.Object Basic()
           
 java.lang.Boolean Boolean()
           
 SFByteArray ByteArray()
           
 CSFComponentDescription Component()
           
 CSFComponentDescription ComponentType(java.lang.String componentClass)
           
 void Constraints(CSFComponentDescription comp)
           
 void DataComponent(CSFComponentDescription comp)
           
 void disable_tracing()
           
 void EagerComponent(CSFComponentDescription comp)
           
 void enable_tracing()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 java.lang.Object IfThenElse()
           
 void Includes(java.util.Vector res)
           
 void LazyComponent(CSFComponentDescription comp)
           
 SFReference LinkReference()
           
 void Name(SFReference res)
           
 java.lang.Number Number()
           
 java.lang.Object Operator()
           
protected  java.util.Vector parseInclude(java.lang.String fName, java.lang.String codebase)
           
 java.lang.Object Primitive()
           
 java.lang.Object PrimitiveValue()
           
 SFReference Reference()
           
 SFReference ReferenceNoEOF()
           
 void ReferencePart(SFReference ref)
           
 void ReInit(DefaultParserTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 java.lang.Object SimpleValue()
           
 java.lang.String String()
           
 java.lang.Object Value()
           
 java.lang.Object Var()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includeHandler

protected IncludeHandler includeHandler

token_source

public DefaultParserTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt
Constructor Detail

DefaultParser

public DefaultParser(java.io.InputStream is,
                     IncludeHandler handler)

DefaultParser

public DefaultParser(java.io.InputStream stream)

DefaultParser

public DefaultParser(java.io.Reader stream)

DefaultParser

public DefaultParser(DefaultParserTokenManager tm)
Method Detail

parseInclude

protected java.util.Vector parseInclude(java.lang.String fName,
                                        java.lang.String codebase)
                                 throws ParseException
Throws:
ParseException

Attributes

public final void Attributes(CSFComponentDescription descr)
                      throws ParseException
Throws:
ParseException

AttributeList

public final java.util.Vector AttributeList()
                                     throws ParseException
Throws:
ParseException

Reference

public final SFReference Reference()
                            throws ParseException
Throws:
ParseException

AnyValue

public final java.lang.Object AnyValue()
                                throws ParseException
Throws:
ParseException

PrimitiveValue

public final java.lang.Object PrimitiveValue()
                                      throws ParseException
Throws:
ParseException

AttributesNoEOF

public final void AttributesNoEOF(CSFComponentDescription descr)
                           throws ParseException
Throws:
ParseException

AttributeListNoEOF

public final java.util.Vector AttributeListNoEOF()
                                          throws ParseException
Throws:
ParseException

Includes

public final void Includes(java.util.Vector res)
                    throws ParseException
Throws:
ParseException

Attribute

public final java.lang.Object[] Attribute()
                                   throws ParseException
Throws:
ParseException

Name

public final void Name(SFReference res)
                throws ParseException
Throws:
ParseException

Value

public final java.lang.Object Value()
                             throws ParseException
Throws:
ParseException

Var

public final java.lang.Object Var()
                           throws ParseException
Throws:
ParseException

SimpleValue

public final java.lang.Object SimpleValue()
                                   throws ParseException
Throws:
ParseException

Operator

public final java.lang.Object Operator()
                                throws ParseException
Throws:
ParseException

IfThenElse

public final java.lang.Object IfThenElse()
                                  throws ParseException
Throws:
ParseException

Component

public final CSFComponentDescription Component()
                                        throws ParseException
Throws:
ParseException

ComponentType

public final CSFComponentDescription ComponentType(java.lang.String componentClass)
                                            throws ParseException
Throws:
ParseException

EagerComponent

public final void EagerComponent(CSFComponentDescription comp)
                          throws ParseException
Throws:
ParseException

LazyComponent

public final void LazyComponent(CSFComponentDescription comp)
                         throws ParseException
Throws:
ParseException

DataComponent

public final void DataComponent(CSFComponentDescription comp)
                         throws ParseException
Throws:
ParseException

BaseComponent

public final void BaseComponent(CSFComponentDescription comp)
                         throws ParseException
Throws:
ParseException

Constraints

public final void Constraints(CSFComponentDescription comp)
                       throws ParseException
Throws:
ParseException

ReferenceNoEOF

public final SFReference ReferenceNoEOF()
                                 throws ParseException
Throws:
ParseException

BaseReference

public final SFReference BaseReference()
                                throws ParseException
Throws:
ParseException

LinkReference

public final SFReference LinkReference()
                                throws ParseException
Throws:
ParseException

ReferencePart

public final void ReferencePart(SFReference ref)
                         throws ParseException
Throws:
ParseException

Basic

public final java.lang.Object Basic()
                             throws ParseException
Throws:
ParseException

Primitive

public final java.lang.Object Primitive()
                                 throws ParseException
Throws:
ParseException

Number

public final java.lang.Number Number()
                              throws ParseException
Throws:
ParseException

String

public final java.lang.String String()
                              throws ParseException
Throws:
ParseException

Boolean

public final java.lang.Boolean Boolean()
                                throws ParseException
Throws:
ParseException

ByteArray

public final SFByteArray ByteArray()
                            throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(DefaultParserTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP