af nguyễn thị thương 4 år siden
307
Mere som dette
methodInvocation
argumentList
'x','a'
getInt
typeName
TextIO
localVariableDeclarationStatemetn
VariableDeclaratorList
variableDeclarator
VariableInitialiser
{1,1,2,3,5,8,13}
isAt
x
variableDeclaratorld
args
String[]
main
returnexpression
-1
ifthenStatement
return i
x==a[i+0]
ForStatement
unaryexpression
forupdate
i++
relationexpression
i< a.length
forInit
i=0
unannprimitiveType
FormalParameters
int x
unannPrimitiveType
numericType
identifierChars
search
IfthenElseStatement
assignment expression
expressionStatement
min =a
min=b
relationExpression
a<=b
localDeclarationStatement
localVariableDeclaration
'min'
Variabledeclaratorid
idnetifierChá
return min
LocalVariableDeclarationStatement
LocalVariableDeclaration
VariableDeclarationList
min
formalParameter
VariableDeclaratord
b
FormalParameter
NumericType
VariableModifier
JVLetterorDigit
'i','n''
JVLetter
return j
LocalVariabeDeclarationStatement
LocalVảiableDeclaration
LocalVariableDeclarationList
VariableDeclarator
VariableInitializer
expression
i+1
j
UnannType
VariableDeclaratorld
iidentifier
i
unannType
UnannPrimitiveType
identifierChar
nextCount
//TODO: implement this
variable declaratorID
a
UnnaType
int[]
JVletterorDigit
'i','n'
JVletter
'm'