marf.nlp.Parsing
Class SemanticAnalyzer

java.lang.Object
  extended by marf.nlp.Parsing.SemanticAnalyzer

public class SemanticAnalyzer
extends java.lang.Object

Semantic Analyzer. TODO: complete implementation.

$Id: SemanticAnalyzer.java,v 1.7 2006/01/08 01:16:49 mokhov Exp $

Since:
0.3.0.2
Version:
$Revision: 1.7 $
Author:
Serguei Mokhov

Field Summary
protected  java.util.Vector oSematicErrors
          A collection of semantic errors found.
protected  java.util.Stack oSematicStack
          Semantic stack for semantic checks.
 SymbolTable oSymTab
          Internal reference to the symbol table for type and definition checks.
 
Constructor Summary
SemanticAnalyzer()
           
 
Method Summary
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 boolean isDefinedID(java.lang.String pstrScopeSymbol, java.lang.String pstrSymbolToCheck)
          Not implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oSematicErrors

protected java.util.Vector oSematicErrors
A collection of semantic errors found.


oSematicStack

protected java.util.Stack oSematicStack
Semantic stack for semantic checks.


oSymTab

public SymbolTable oSymTab
Internal reference to the symbol table for type and definition checks.

Constructor Detail

SemanticAnalyzer

public SemanticAnalyzer()
Method Detail

isDefinedID

public boolean isDefinedID(java.lang.String pstrScopeSymbol,
                           java.lang.String pstrSymbolToCheck)
Not implemented. Checks whether a given identifier was defined.

Parameters:
pstrScopeSymbol -
pstrSymbolToCheck -
Returns:
false

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string


SourceForge Logo