coins.ffront
クラス Parser

java.lang.Object
  |
  +--coins.ffront.Parser

public class Parser
extends java.lang.Object


入れ子クラスの概要
protected static class Parser.YyCheckClass
           
protected static class Parser.YyDefRedClass
           
protected static class Parser.YyDgotoClass
           
static class Parser.yyException
          thrown for irrecoverable syntax errors and stack overflow.
protected static class Parser.YyGindexClass
           
static interface Parser.yyInput
          must be implemented by a scanner object to supply input to the parser.
protected static class Parser.YyLenClass
           
protected static class Parser.YyLhsClass
           
protected static class Parser.YyNameClass
           
protected static class Parser.YyRindexClass
           
protected static class Parser.YySindexClass
           
protected static class Parser.YyTableClass
           
 
フィールドの概要
static int AND
           
static int ARITH_IF
           
static int ASSIGN
           
static int ASSIGN_GOTO
           
static int BACKSPACE
           
static int BLOCKDATA
           
static int CALL
           
static int CHAR_CONST
           
static int CHARACTER
           
static int CLOSE
           
static int COMMON
           
static int COMP_GOTO
           
static int COMPLEX
           
static int CONTINUE
           
static int DATA
           
static int DIMENSION
           
static int DO
           
static int DOUBLE_CONST
           
static int DOUBLE_PREC
           
static int DOUBLE_SLASH
           
static int ELSE
           
static int ELSE_IF
           
static int END
           
static int END_DO
           
static int END_FILE
           
static int END_IF
           
static int ENTRY
           
static int EOS
           
static int EQUAL
           
static int EQUIVALENCE
           
static int EQV
           
static int EXTERNAL
           
static int FALSE_CONST
           
(パッケージプライベート)  F77Hir fHir
           
static int FORMAT
           
static int FORMAT_SPECIFICATION
           
(パッケージプライベート)  F77Sym fSym
           
static int FUNCTION
           
static int GOTO
           
static int GREATER_OR_EQUAL
           
static int GREATER_THAN
           
static int IDENT
           
static int IF
           
static int IMPLICIT
           
static int INQUIRE
           
static int INT_CONST
           
static int INTEGER
           
static int INTRINSIC
           
static int LABEL
           
static int LABEL_DEF
           
static int LESS_OR_EQUAL
           
static int LESS_THAN
           
static int LET
           
static int LOGICAL
           
static int NEQV
           
static int NO_LABEL
           
static int NOT
           
static int NOT_EQUAL
           
static int OPEN
           
static int OR
           
static int PARAM
           
static int PAUSE
           
static int POWER
           
static int PRINT
           
static int PROGRAM
           
static int READ
           
static int REAL
           
static int REAL_CONST
           
static int RETURN
           
static int REWIND
           
static int SAVE
           
static int STOP
           
static int SUBROUTINE
           
static int THEN
           
static int TO
           
static int TRUE_CONST
           
static int UMINUS
           
static int UPLUS
           
static int WRITE
           
static int yyErrorCode
           
protected static int yyFinal
          debugging support, requires the package jay.yydebug.
(パッケージプライベート)  Scanner yyLex
           
protected  int yyMax
          initial size and increment of the state/value stack [default 256].
 
コンストラクタの概要
Parser(SymRoot sRoot, HirRoot hRoot, IoRoot iRoot, Scanner lexer)
           
 
メソッドの概要
 F77Hir getHir()
           
protected  java.lang.Object yyDefault(java.lang.Object first)
          executed at the beginning of a reduce action.
 void yyerror(java.lang.String message)
          simplified error message.
 void yyerror(java.lang.String message, java.lang.String[] expected)
          (syntax) error message.
protected  java.lang.String[] yyExpecting(int state)
          computes list of expected tokens on error by tracing the tables.
 java.lang.Object yyparse(Parser.yyInput yyLex)
          the generated parser.
 java.lang.Object yyparse(Parser.yyInput yyLex, java.lang.Object yydebug)
          the generated parser, with debugging messages.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

fHir

F77Hir fHir

fSym

F77Sym fSym

yyLex

Scanner yyLex

REAL_CONST

public static final int REAL_CONST
関連項目:
定数フィールド値

CHAR_CONST

public static final int CHAR_CONST
関連項目:
定数フィールド値

INT_CONST

public static final int INT_CONST
関連項目:
定数フィールド値

DOUBLE_CONST

public static final int DOUBLE_CONST
関連項目:
定数フィールド値

IDENT

public static final int IDENT
関連項目:
定数フィールド値

LABEL_DEF

public static final int LABEL_DEF
関連項目:
定数フィールド値

LABEL

public static final int LABEL
関連項目:
定数フィールド値

EOS

public static final int EOS
関連項目:
定数フィールド値

NO_LABEL

public static final int NO_LABEL
関連項目:
定数フィールド値

TRUE_CONST

public static final int TRUE_CONST
関連項目:
定数フィールド値

FALSE_CONST

public static final int FALSE_CONST
関連項目:
定数フィールド値

INTEGER

public static final int INTEGER
関連項目:
定数フィールド値

REAL

public static final int REAL
関連項目:
定数フィールド値

COMPLEX

public static final int COMPLEX
関連項目:
定数フィールド値

DOUBLE_PREC

public static final int DOUBLE_PREC
関連項目:
定数フィールド値

LOGICAL

public static final int LOGICAL
関連項目:
定数フィールド値

CHARACTER

public static final int CHARACTER
関連項目:
定数フィールド値

PARAM

public static final int PARAM
関連項目:
定数フィールド値

LET

public static final int LET
関連項目:
定数フィールド値

ARITH_IF

public static final int ARITH_IF
関連項目:
定数フィールド値

IF

public static final int IF
関連項目:
定数フィールド値

ASSIGN

public static final int ASSIGN
関連項目:
定数フィールド値

BLOCKDATA

public static final int BLOCKDATA
関連項目:
定数フィールド値

CALL

public static final int CALL
関連項目:
定数フィールド値

CLOSE

public static final int CLOSE
関連項目:
定数フィールド値

COMMON

public static final int COMMON
関連項目:
定数フィールド値

CONTINUE

public static final int CONTINUE
関連項目:
定数フィールド値

DATA

public static final int DATA
関連項目:
定数フィールド値

DIMENSION

public static final int DIMENSION
関連項目:
定数フィールド値

DO

public static final int DO
関連項目:
定数フィールド値

END_DO

public static final int END_DO
関連項目:
定数フィールド値

ELSE

public static final int ELSE
関連項目:
定数フィールド値

ELSE_IF

public static final int ELSE_IF
関連項目:
定数フィールド値

END

public static final int END
関連項目:
定数フィールド値

END_FILE

public static final int END_FILE
関連項目:
定数フィールド値

END_IF

public static final int END_IF
関連項目:
定数フィールド値

ENTRY

public static final int ENTRY
関連項目:
定数フィールド値

EQUIVALENCE

public static final int EQUIVALENCE
関連項目:
定数フィールド値

EXTERNAL

public static final int EXTERNAL
関連項目:
定数フィールド値

FORMAT

public static final int FORMAT
関連項目:
定数フィールド値

FUNCTION

public static final int FUNCTION
関連項目:
定数フィールド値

GOTO

public static final int GOTO
関連項目:
定数フィールド値

ASSIGN_GOTO

public static final int ASSIGN_GOTO
関連項目:
定数フィールド値

COMP_GOTO

public static final int COMP_GOTO
関連項目:
定数フィールド値

IMPLICIT

public static final int IMPLICIT
関連項目:
定数フィールド値

INTRINSIC

public static final int INTRINSIC
関連項目:
定数フィールド値

PAUSE

public static final int PAUSE
関連項目:
定数フィールド値

PRINT

public static final int PRINT
関連項目:
定数フィールド値

PROGRAM

public static final int PROGRAM
関連項目:
定数フィールド値

READ

public static final int READ
関連項目:
定数フィールド値

RETURN

public static final int RETURN
関連項目:
定数フィールド値

SAVE

public static final int SAVE
関連項目:
定数フィールド値

STOP

public static final int STOP
関連項目:
定数フィールド値

SUBROUTINE

public static final int SUBROUTINE
関連項目:
定数フィールド値

THEN

public static final int THEN
関連項目:
定数フィールド値

TO

public static final int TO
関連項目:
定数フィールド値

WRITE

public static final int WRITE
関連項目:
定数フィールド値

OPEN

public static final int OPEN
関連項目:
定数フィールド値

INQUIRE

public static final int INQUIRE
関連項目:
定数フィールド値

BACKSPACE

public static final int BACKSPACE
関連項目:
定数フィールド値

REWIND

public static final int REWIND
関連項目:
定数フィールド値

AND

public static final int AND
関連項目:
定数フィールド値

OR

public static final int OR
関連項目:
定数フィールド値

NEQV

public static final int NEQV
関連項目:
定数フィールド値

EQV

public static final int EQV
関連項目:
定数フィールド値

NOT

public static final int NOT
関連項目:
定数フィールド値

EQUAL

public static final int EQUAL
関連項目:
定数フィールド値

LESS_THAN

public static final int LESS_THAN
関連項目:
定数フィールド値

GREATER_THAN

public static final int GREATER_THAN
関連項目:
定数フィールド値

LESS_OR_EQUAL

public static final int LESS_OR_EQUAL
関連項目:
定数フィールド値

GREATER_OR_EQUAL

public static final int GREATER_OR_EQUAL
関連項目:
定数フィールド値

NOT_EQUAL

public static final int NOT_EQUAL
関連項目:
定数フィールド値

POWER

public static final int POWER
関連項目:
定数フィールド値

DOUBLE_SLASH

public static final int DOUBLE_SLASH
関連項目:
定数フィールド値

FORMAT_SPECIFICATION

public static final int FORMAT_SPECIFICATION
関連項目:
定数フィールド値

UMINUS

public static final int UMINUS
関連項目:
定数フィールド値

UPLUS

public static final int UPLUS
関連項目:
定数フィールド値

yyErrorCode

public static final int yyErrorCode
関連項目:
定数フィールド値

yyFinal

protected static final int yyFinal
debugging support, requires the package jay.yydebug. Set to null to suppress debugging messages.

関連項目:
定数フィールド値

yyMax

protected int yyMax
initial size and increment of the state/value stack [default 256]. This is not final so that it can be overwritten outside of invocations of yyparse().

コンストラクタの詳細

Parser

public Parser(SymRoot sRoot,
              HirRoot hRoot,
              IoRoot iRoot,
              Scanner lexer)
メソッドの詳細

getHir

public F77Hir getHir()

yyerror

public void yyerror(java.lang.String message)
simplified error message.

関連項目:
yyerror

yyerror

public void yyerror(java.lang.String message,
                    java.lang.String[] expected)
(syntax) error message. Can be overwritten to control message format.

パラメータ:
message - text to be displayed.
expected - vector of acceptable tokens, if available.

yyExpecting

protected java.lang.String[] yyExpecting(int state)
computes list of expected tokens on error by tracing the tables.

パラメータ:
state - for which to compute the list.
戻り値:
list of token names.

yyparse

public java.lang.Object yyparse(Parser.yyInput yyLex,
                                java.lang.Object yydebug)
                         throws java.io.IOException,
                                Parser.yyException
the generated parser, with debugging messages. Maintains a state and a value stack, currently with fixed maximum size.

パラメータ:
yyLex - scanner.
yydebug - debug message writer implementing yyDebug, or null.
戻り値:
result of the last reduction, if any.
例外:
Parser.yyException - on irrecoverable parse error.
java.io.IOException

yyDefault

protected java.lang.Object yyDefault(java.lang.Object first)
executed at the beginning of a reduce action. Used as $$ = yyDefault($1), prior to the user-specified action, if any. Can be overwritten to provide deep copy, etc.

パラメータ:
first - value for $1, or null.
戻り値:
first.

yyparse

public java.lang.Object yyparse(Parser.yyInput yyLex)
                         throws java.io.IOException,
                                Parser.yyException
the generated parser. Maintains a state and a value stack, currently with fixed maximum size.

パラメータ:
yyLex - scanner.
戻り値:
result of the last reduction, if any.
例外:
Parser.yyException - on irrecoverable parse error.
java.io.IOException