- All Known Subinterfaces:
Itree
,ItreeWithRhs
- All Known Implementing Classes:
ArgsPassingItree
,ArgVecItree
,AssignmentItree
,BiArithmeticItree
,BindingItree
,BranchItree
,BranchWithElseItree
,DerefItree
,FastFunItree
,IfItree
,ItreeElem.Spread
,LderefItree
,LetRecItree
,LstoreItree
,McallItree
,NadaItree
,NestedArgsPassingItree
,NestedVecAssignmentItree
,NoTraitNewValItree
,NumItree
,OptRestVecAssignmentItree
,OptVecAssignmentItree
,RecvItree
,RestVecAssignmentItree
,SeqItree
,SlowFunItree
,StoreItree
,StrItree
,SymcallItree
,TraitNewValItree
,VarrefItree
,VarrefVecAssignmentItree
,VecItree
An elem of vec bodies or actual args.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final record
ItreeElem of SPREAD type. -
Method Summary
-
Method Details
-
isSingle
boolean isSingle()Returns whether the type is SINGLE.- Returns:
- whether the type is SINGLE.
-
isSpread
default boolean isSpread()Returns whether the type is SPREAD.- Returns:
- whether the type is SPREAD.
-
expr
Itree expr()Returns the expression in the elem.- Returns:
- the expression in the elem.
-
pos
int pos()Returns the pos of the elem on the program text.- Returns:
- the pos of the elem on the program text.
-