org.smartfrog.sfcore.languages.csf
Class DefaultParser
java.lang.Object
org.smartfrog.sfcore.languages.csf.DefaultParser
- All Implemented Interfaces:
- DefaultParserConstants
public class DefaultParser
- extends java.lang.Object
- implements DefaultParserConstants
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
includeHandler
protected IncludeHandler includeHandler
token_source
public DefaultParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
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)
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()
(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP