public abstract class LoopStatement extends Statement implements ILoopStatement
VOID_RETURN_VALUE_tokens, UNDEF_FILE, UNDEF_FUNCTION, UNDEF_MODULE| Constructor and Description |
|---|
LoopStatement() |
| Modifier and Type | Method and Description |
|---|---|
static IType |
getArrayComponentType(IType typeIn) |
static int |
getArrayLength(Object obj)
Return the length of the specified Array or Collection.
|
boolean |
isConditionLiteralTrue() |
static boolean |
isIteratorType(IType typeIn) |
static Iterator |
makeIterator(Object obj,
IType typeHint)
A helper method for creating Iterators for use with 'exists' and 'foreach'
elements.
|
execute, execute, getExcludedReturnTypeElements, getLeastSignificant, getLeastSignificantTerminalStatement_internal, getLeastSignificantTerminalStatement, getReturnType, hasContent, isNoOp, setParent, toStringaddExceptionsFrom, addParseException, addParseException, addParseException, addParseExceptions, addParseIssues, addParseWarning, addParseWarning, addParseWarnings, addToken, adjustColumn, adjustLineNum, assignTokens, clearParseExceptions, clearParseTreeInformation, clearParseWarnings, compactParseTree, findAncestorParsedElementByType, findDeclaringStatement, findLineNumberOfDeclaration, findRootParsedElement, getAnnotations, getColumn, getContainedParsedElementsByType, getContainedParsedElementsByTypes, getContainedParsedElementsByTypesWithIgnoreSet, getEnclosingFeatureInfo, getFunctionName, getGosuClass, getGosuProgram, getImmediateParseIssue, getImmediateParseIssues, getLineNum, getLocation, getModule, getParent, getParseExceptions, getParseIssues, getParseWarnings, getQualifyingEnclosingTypeInfo, getTokens, hasImmediateParseIssue, hasImmediateParseWarning, hasImmediateParseWarnings, hasParseException, hasParseExceptions, hasParseIssue, hasParseIssues, hasParseWarning, hasParseWarnings, initEmptyParseTree, initLocation, isCompileTimeConstant, isSuppressed, isSuppressed, isSynthetic, makeDoubleValue, makeFloatValue, makeInteger, makeLong, removeParseException, removeParseWarning, removeParseWarningRecursively, setGosuProgram, setLineNum, setLocation, setSynthetic, shouldClearParseInfo, visitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExpression, getStatementexecute, execute, getLeastSignificantTerminalStatement, hasContentaddExceptionsFrom, addParseException, addParseException, addParseWarning, addParseWarning, clearParseExceptions, clearParseTreeInformation, clearParseWarnings, findAncestorParsedElementByType, findDeclaringStatement, findRootParsedElement, getColumn, getContainedParsedElementsByType, getContainedParsedElementsByTypes, getContainedParsedElementsByTypesWithIgnoreSet, getFunctionName, getGosuClass, getGosuProgram, getImmediateParseIssue, getImmediateParseIssues, getLineNum, getLocation, getModule, getParent, getParseExceptions, getParseIssues, getParseWarnings, getReturnType, getTokens, hasImmediateParseIssue, hasImmediateParseWarnings, hasParseException, hasParseExceptions, hasParseIssue, hasParseIssues, hasParseWarning, hasParseWarnings, isCompileTimeConstant, isSuppressed, isSynthetic, setLocation, setParent, visitpublic static boolean isIteratorType(IType typeIn)
public static Iterator makeIterator(Object obj, IType typeHint)
public static int getArrayLength(Object obj)
public boolean isConditionLiteralTrue()
isConditionLiteralTrue in interface ILoopStatementCopyright © 2018. All rights reserved.