Package frysk.expr

This package implements frysk's expression handling.

See:
          Description

Interface Summary
CExprEvaluatorTokenTypes  
CExprParserTokenTypes  
CTypeEvaluatorTokenTypes  
ExprSymTab  
FQIdentPattern  
 

Class Summary
CExprEvaluator  
CExprLexer  
CExprParser  
CTypeEvaluator  
DetailedAST An AST that also retains the location of its token.
Expression An expression (well actually the expression tree).
ExpressionFactory Create expressions and related stuff.
ExprSearchEngine This class adapts ObjectDeclarationSearchEngine so that it is usable by ExprSymTab.
FQIdentifier  
FQIdentParser Funky HPD #-syntax doesn't map very well to LL-k type parser (for constant 'k').
FQIdentPatternAll Pattern for part of the FQ identifier that is missing.
FQIdentPatternExact Pattern for exactly specified part of FQ identifier.
FQIdentPatternGlob Pattern for part of FQ identifier specified by a glob.
FQIdentToken  
ScratchSymTab  
TestArithmetics Scratch is for the case where there isn't any symbols, basic ops should still work.
TestbedSymTab  
TestCompletion Create expressions and related stuff.
 

Exception Summary
CompletionException An incomplete blah.
FQIdentParser.ExtraGarbageException  
FQIdentParser.FQIdentException  
FQIdentParser.InvalidTokenException  
IncompleteIdentifierException An incomplete identifier; e.g.: foo<tab>
IncompleteMemberException An incomplete field member; e.g.: structure.field
IncompleteScopeException An incomplete blah.
IncompleteTokenException An incomplete token; e.g.: :
SyntaxException Some sort of syntax error.
 

Package frysk.expr Description

This package implements frysk's expression handling.

Overview

Frysk uses the antlr parser generator to generate an expression parser. ExprSymTab.java provides the interface between the antlr generated parser, which is specified in CExprEvaluator.g, CExpr.g, and CTypeEvaluator.g, and the frysk hpd requests.