|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.habelitz.jsobjectizer.unmarshaller.antlrbridge.JSOParser com.habelitz.jsobjectizer.unmarshaller.jsombridge.AST2JSOM.AST2JSOMUnmarshaller
protected static class AST2JSOM.AST2JSOMUnmarshaller
The purpose of this class is to parse Java sources and transform the
parser results into appropriate AST2JSOM
objects.
This class is only visible to sub-types of the AST2JSOM
type. It's unmarshaller methods return AST2JSOM
type
objects. Unmarshaller methods within classes derived from this class
should only return JSOM
types without the visibility of all
the AST2 stuff.
__TEST__ Most unmarshalble code fragments still untested for
unmarshalling failure.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.habelitz.jsobjectizer.unmarshaller.antlrbridge.JSOParser |
|---|
com.habelitz.jsobjectizer.unmarshaller.antlrbridge.JSOParser.CodeFragmentType, com.habelitz.jsobjectizer.unmarshaller.antlrbridge.JSOParser.ParserResult |
| Constructor Summary | |
|---|---|
AST2JSOM.AST2JSOMUnmarshaller()
Standard constructor that has package scope only. |
| Method Summary | |
|---|---|
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2Annotation |
unmarshalAST2Annotation(java.lang.String pAnnotation,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an annotation stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2AssertStatement |
unmarshalAST2AssertStatement(java.lang.String pAssertStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an assert statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2BreakStatement |
unmarshalAST2BreakStatement(java.lang.String pBreakStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a break statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ClassExtendsClause |
unmarshalAST2ClassExtendsClause(java.lang.String pExtendsClause,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a class extends clause stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ComplexTypeIdentifier |
unmarshalAST2ComplexTypeIdentifier(java.lang.String pComplexTypeIdentifier,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a complex type identifier stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ContinueStatement |
unmarshalAST2ContinueStatement(java.lang.String pContinueStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a continue statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2WhileAndDoStatements |
unmarshalAST2DoWhileStatement(java.lang.String pDoWhileStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a do ... while statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2EnumConstant |
unmarshalAST2EnumConstant(java.lang.String pEnumConstant,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an enumeration constant stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.expression.AST2Expression |
unmarshalAST2Expression(java.lang.String pExpression,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals any kind of expressions stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ExpressionStatement |
unmarshalAST2ExpressionStatement(java.lang.String pExpressionStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an expression statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ForEachStatement |
unmarshalAST2ForEachStatement(java.lang.String pForEachStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a so called forEach statement stated by a
string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2FormalParameterList |
unmarshalAST2FormalParameterList(java.lang.String pFormalParameterList,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a formal parameter list stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ForStatement |
unmarshalAST2ForStatement(java.lang.String pForStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a for statement stated by a string. |
java.util.List<com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2GenericTypeArgument> |
unmarshalAST2GenericTypeArgumentList(java.lang.String pGenericTypeArgumentList,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a generic type argument list stated as string. |
java.util.List<com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2GenericTypeParameter> |
unmarshalAST2GenericTypeParameterList(java.lang.String pGenericTypeParameterList,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a generic type parameter list stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2IfStatement |
unmarshalAST2IfStatement(java.lang.String pIfStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an if statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ImplementsClause |
unmarshalAST2ImplementsClause(java.lang.String pImplementsClause,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an implements clause stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ImportDeclaration |
unmarshalAST2ImportDeclaration(java.lang.String pImportDeclaration,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an import declaration stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2InterfaceExtendsClause |
unmarshalAST2InterfaceExtendsClause(java.lang.String pExtendsClause,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals an interface extends clause stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2JavaSource |
unmarshalAST2JavaSource(java.io.File pJavaSource,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a complete Java source file. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2JavaSource |
unmarshalAST2JavaSource(java.lang.String pJavaSource,
java.lang.String pJavaSourceIdentifier,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a complete Java source stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2LabeledStatement |
unmarshalAST2LabeledStatement(java.lang.String pLabeledStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a labeled statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2LocalClassDeclaration |
unmarshalAST2LocalClassDeclaration(java.lang.String pClassDeclaration,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a local class declaration stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2LocalVariableDeclaration |
unmarshalAST2LocalVariableDeclaration(java.lang.String pVariableDeclaration,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a local variable declaration, with or without an initializer. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ModifierList |
unmarshalAST2ModifierList(java.lang.String pModifierList,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a modifier list stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2PrimitiveType |
unmarshalAST2PrimitiveType(java.lang.String pPrimitiveType,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a primitive type stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2QualifiedIdentifier |
unmarshalAST2QualifiedIdentifier(java.lang.String pQualifiedIdentifier,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a simple qualified identifier, i.e. something that typically occurs for package and import declarations. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ReturnStatement |
unmarshalAST2ReturnStatement(java.lang.String pReturnStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a return statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2Statement |
unmarshalAST2Statement(java.lang.String pStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a statement stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2StatementBlockScope |
unmarshalAST2StatementBlock(java.lang.String pCompoundStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a compound statement block. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2StatementBlockElement |
unmarshalAST2StatementBlockElement(java.lang.String pStatementBlockElement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals any kind of statement block elements stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SwitchStatement |
unmarshalAST2SwitchStatement(java.lang.String pSwitchStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a switch statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SwitchStatement.AST2SwitchLabel |
unmarshalAST2SwitchStatementCaseLabel(java.lang.String pSwitchCaseLabel,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a case label of a switch
statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SwitchStatement.AST2SwitchLabel |
unmarshalAST2SwitchStatementDefaultLabel(java.lang.String pSwitchDefaultLabel,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a default label of a switch
statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SynchronizedStatement |
unmarshalAST2SynchronizedStatement(java.lang.String pSynchronizedStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a synchronized statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ThrowsClause |
unmarshalAST2ThrowsClause(java.lang.String pThrowsClause,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a throws clause stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ThrowStatement |
unmarshalAST2ThrowStatement(java.lang.String pThrowStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a throw statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2TryStatement |
unmarshalAST2TryStatement(java.lang.String pTryStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a try statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2TryStatement.AST2Catch |
unmarshalAST2TryStatementCatchClause(java.lang.String pCatchClause,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a catch clause of a try
statement stated by a string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2Type |
unmarshalAST2Type(java.lang.String pType,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a primitive or complex type including static arrays stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.base.AST2CommonTypeDeclaration |
unmarshalAST2TypeDeclaration(java.lang.String pTypeDeclaration,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals any kind of type declarations stated as string. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2VariableDeclaratorIdentifier |
unmarshalAST2VariableDeclaratorIdentifier(java.lang.String pVariableDeclaratorIdentifier,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a variable declarator identifier. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2VariableInitializer |
unmarshalAST2VariableInitializer(java.lang.String pVariableInitializer,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a variable initializer. |
com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2WhileAndDoStatements |
unmarshalAST2WhileStatement(java.lang.String pWhileStatement,
java.util.List<java.lang.String> pErrorMessages)
Unmarshals a while statement stated by a string. |
| Methods inherited from class com.habelitz.jsobjectizer.unmarshaller.antlrbridge.JSOParser |
|---|
parse, parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
AST2JSOM.AST2JSOMUnmarshaller()
| Method Detail |
|---|
public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2JavaSource unmarshalAST2JavaSource(java.io.File pJavaSource, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pJavaSource
- The Java source that should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
ASTJavaSource
. If marshalling the file has been
failed but no exception has been thrown null
will be returned and it's very likely that there's at least
one message within the message list passed to this method
(if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the Java file
failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2JavaSource unmarshalAST2JavaSource(java.lang.String pJavaSource, java.lang.String pJavaSourceIdentifier, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pJavaSource
- The Java source that should get unmarshalled.pJavaSourceIdentifier
- The identifier of the Java source.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
ASTJavaSource
. If marshalling the file has been
failed but no exception has been thrown null
will be returned and it's very likely that there's at least
one message within the message list passed to this method
(if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the Java file
failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2Annotation unmarshalAST2Annotation(java.lang.String pAnnotation, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pAnnotation
- The annotation that should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2Annotation
. If marshalling the code fragment has
been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2AssertStatement unmarshalAST2AssertStatement(java.lang.String pAssertStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
assert
statement stated by a string.
pAssertStatement
- The assert
statement that
should get unmarshalled. Note that the
stated string must include the terminating
semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2AssertStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2BreakStatement unmarshalAST2BreakStatement(java.lang.String pBreakStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
break
statement stated by a string.
pBreakStatement
- The break
statement that should
get unmarshalled. Note that the stated string
must include the terminating semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2BreakStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ClassExtendsClause unmarshalAST2ClassExtendsClause(java.lang.String pExtendsClause, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
extends
clause stated as string.
pExtendsClause
- The class extends
clause that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ClassExtendsClause
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ComplexTypeIdentifier unmarshalAST2ComplexTypeIdentifier(java.lang.String pComplexTypeIdentifier, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pComplexTypeIdentifier
- The complex type identifier that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ComplexTypeIdentifier
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ContinueStatement unmarshalAST2ContinueStatement(java.lang.String pContinueStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
continue
statement stated by a string.
pContinueStatement
- The continue
statement that
should get unmarshalled. Note that the
stated string must include the terminating
semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ContinueStatement
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2WhileAndDoStatements unmarshalAST2DoWhileStatement(java.lang.String pDoWhileStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
do ... while
statement stated by a string.
pDoWhileStatement
- The do ... while
statement
that should get unmarshalled. Note that the
stated string must contain the complete
statement including the closing semicolon
and the statement following the do
keyword.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2WhileAndDoStatements
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2EnumConstant unmarshalAST2EnumConstant(java.lang.String pEnumConstant, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pEnumConstant
- The enumeration constant that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2EnumConstant
.
JSourceUnmarshallerException
- if marshalling the code fragment
failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.expression.AST2Expression unmarshalAST2Expression(java.lang.String pExpression, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Important note: The given string must represent a complete
expression in a semantical point of view, i.e. an assignment
statement, a 'new' expression, a method call and so on. Unmarshalling
of a fraction of a complete expression may succeed but
this is not guaranteed. For instance, unmarshalling just a primary
expression representing an array type declaration (something like
anyType[]
) will always fail.
pExpression
- The expression that should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2Expression
.
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ExpressionStatement unmarshalAST2ExpressionStatement(java.lang.String pExpressionStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
An expression statement is a statement that could also be an expression anywhere else. This could be an assignment expression or a method call, for instance.
pExpressionStatement
- The expression statement that should get
unmarshalled. Note that the stated
string must include the terminating
semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ExpressionStatement
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ForEachStatement unmarshalAST2ForEachStatement(java.lang.String pForEachStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
forEach
statement stated by a
string.
pForEachStatement
- The forEach
statement that
should get unmarshalled. Note that the
stated string must also contain the
statement following the forEach
statement.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ForEachStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2FormalParameterList unmarshalAST2FormalParameterList(java.lang.String pFormalParameterList, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pFormalParameterList
- The formal parameter list that should
get unmarshalled. Note that this must be
a complete formal parameter list
containing 0 or more formal parameter
declarations enclosed within
parentheses.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2FormalParameterList
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ForStatement unmarshalAST2ForStatement(java.lang.String pForStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
for
statement stated by a string.
This method can't be used to unmarshal a so called
forEach
statement. For forEach
statements use the
method unmarshalAST2ForEachStatement(String, List)
.
pForStatement
- The for
statement that should get
unmarshalled. Note that the stated string must
also contain the statement following the
for
statement.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2IfStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public java.util.List<com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2GenericTypeArgument> unmarshalAST2GenericTypeArgumentList(java.lang.String pGenericTypeArgumentList, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Note that this method doesn't return an object representing a generic type argument list. Instead the generic type arguments will be resolved from the parsed generic type argument list and these resolved generic type arguments will be returned.
pGenericTypeArgumentList
- The generic type argument list that
should get unmarshalled. Note that
this must be a complete generic type
list including the angle brackets.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
objects of
type AST2GenericTypeArgument
resolved from the
given generic type argument list. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public java.util.List<com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2GenericTypeParameter> unmarshalAST2GenericTypeParameterList(java.lang.String pGenericTypeParameterList, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Note that this method doesn't return an object representing a generic type parameter list. Instead the generic type parameters will be resolved from the parsed generic type parameter list and these resolved generic type parameters will be returned.
pGenericTypeParameterList
- The generic type parameter list
that should get unmarshalled. Note
that this must be a complete
generic type parameter list
including the angle brackets.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
objects of
type AST2GenericTypeParameter
resolved from the
given generic type parameter list. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2IfStatement unmarshalAST2IfStatement(java.lang.String pIfStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
if
statement stated by a string.
pIfStatement
- The if
statement that should get
unmarshalled. Note that the stated string must
also contain the statement following the
if
statement.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2IfStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ImplementsClause unmarshalAST2ImplementsClause(java.lang.String pImplementsClause, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
implements
clause stated as string.
pImplementsClause
- The implements
clause that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ImplementsClause
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ImportDeclaration unmarshalAST2ImportDeclaration(java.lang.String pImportDeclaration, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
import
declaration stated as string.
pImportDeclaration
- The import declaration that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ImportDeclaration
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2InterfaceExtendsClause unmarshalAST2InterfaceExtendsClause(java.lang.String pExtendsClause, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
extends
clause stated as string.
pExtendsClause
- The interface extends
clause that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2InterfaceExtendsClause
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2LabeledStatement unmarshalAST2LabeledStatement(java.lang.String pLabeledStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pLabeledStatement
- The labeled statement that should get
unmarshalled. Note that the stated string
must include the colon following the label
identifier and the statement following the
colon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2LabeledStatement
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2LocalClassDeclaration unmarshalAST2LocalClassDeclaration(java.lang.String pClassDeclaration, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pClassDeclaration
- The local class declaration that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2LocalClassDeclaration
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed or if the
stated type declaration doesn't
represent a class declaration.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2LocalVariableDeclaration unmarshalAST2LocalVariableDeclaration(java.lang.String pVariableDeclaration, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pVariableDeclaration
- The local variable declaration that
should get get unmarshalled. Note that
the given string must include the
terminating semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2LocalVariableDeclaration
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ModifierList unmarshalAST2ModifierList(java.lang.String pModifierList, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pModifierList
- The modifier list that should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ModifierList
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2PrimitiveType unmarshalAST2PrimitiveType(java.lang.String pPrimitiveType, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pPrimitiveType
- The primitive type that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2PrimitiveType
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2QualifiedIdentifier unmarshalAST2QualifiedIdentifier(java.lang.String pQualifiedIdentifier, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pQualifiedIdentifier
- The qualified identifier that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2QualifiedIdentifier
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ReturnStatement unmarshalAST2ReturnStatement(java.lang.String pReturnStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
return
statement stated by a string.
pReturnStatement
- The return
statement that
should get unmarshalled. Note that the
stated string must include the terminating
semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ReturnStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2Statement unmarshalAST2Statement(java.lang.String pStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Note that this doesn't include any element that may occur within a compound statement block, i.e. only real statements can get unmarshalled by this this method but no local variables or local class declarations.
pStatement
- The statement that should get unmarshalled. Note
that the given string must include the terminating
semicolon.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2Statement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2StatementBlockScope unmarshalAST2StatementBlock(java.lang.String pCompoundStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Note that the owner of the returned object will be
StatementBlockScope.Owner.COMPOUND_STATEMENT
.
pCompoundStatement
- The compound statement that should get
unmarshalled. Note that the given string
must contain the opening and closing
curly brackets.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2Statement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2StatementBlockElement unmarshalAST2StatementBlockElement(java.lang.String pStatementBlockElement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Note that it's up to the caller to find out if the returned object represents a local variable declaration, a local class declaration or a statement (if this is of interest at all).
pStatementBlockElement
- The statement block element that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2StatementBlockElement
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SwitchStatement.AST2SwitchLabel unmarshalAST2SwitchStatementCaseLabel(java.lang.String pSwitchCaseLabel, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
case
label of a switch
statement stated by a string.
This includes the optional statement block elements that may follow
the case
label.
pSwitchCaseLabel
- The case
label that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2SwitchStatement.SwitchLabelImpl
representing a
case
label. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SwitchStatement.AST2SwitchLabel unmarshalAST2SwitchStatementDefaultLabel(java.lang.String pSwitchDefaultLabel, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
default
label of a switch
statement stated by a string.
This includes the optional statement block elements that may follow
the default
label.
pSwitchDefaultLabel
- The default
label that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2SwitchStatement.SwitchLabelImpl
representing a
default
label. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SwitchStatement unmarshalAST2SwitchStatement(java.lang.String pSwitchStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
switch
statement stated by a string.
pSwitchStatement
- The switch
statement that
should get unmarshalled. Note that the
stated string must contain the complete
statement including the switch
expression and the case
block
following - even then if the block should be
empty.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2SwitchStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2SynchronizedStatement unmarshalAST2SynchronizedStatement(java.lang.String pSynchronizedStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
synchronized
statement stated by a string.
pSynchronizedStatement
- The synchronized
statement that should get
unmarshalled. Note that the stated
string must contain the complete
statement including the parenthesized
elements and the statement block to
synchronize.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2SynchronizedStatement
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2ThrowStatement unmarshalAST2ThrowStatement(java.lang.String pThrowStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
throw
statement stated by a string.
pThrowStatement
- The throw
statement that should
get unmarshalled. Note that the stated string
must contain the complete statement including
the closing semicolon and the expression
that states the object to throw.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ThrowStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2ThrowsClause unmarshalAST2ThrowsClause(java.lang.String pThrowsClause, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
throws
clause stated as string.
pThrowsClause
- The throws
clause that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2ThrowsClause
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2TryStatement unmarshalAST2TryStatement(java.lang.String pTryStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
try
statement stated by a string.
pTryStatement
- The try
statement that should get
unmarshalled. Note that the stated string must
contain the complete statement including a
catch
clause and/or a
finally
clause and including the
statement blocks following the the
try/catch/finally
keywords.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2TryStatement
. If marshalling the code fragment
has been failed but no exception has been thrown null
will be returned and it's very likely that there's
at least one message within the message list passed to this
method (if a list has been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2TryStatement.AST2Catch unmarshalAST2TryStatementCatchClause(java.lang.String pCatchClause, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
catch
clause of a try
statement stated by a string.
pCatchClause
- The catch
clause that should get
unmarshalled. Note that the stated string must
contain the complete catch
clause
including the statement block scope.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2TryStatement.CatchImpl
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2Type unmarshalAST2Type(java.lang.String pType, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pType
- The type that should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type AST2Type
.
If marshalling the code fragment has been failed but no
exception has been thrown null
will be returned
and it's very likely that there's at least one message
within the message list passed to this method (if a list has
been passed at all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.base.AST2CommonTypeDeclaration unmarshalAST2TypeDeclaration(java.lang.String pTypeDeclaration, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
Note that this method shouldn't be used to create local class
declarations. Do do this the methods
unmarshalAST2LocalClassDeclaration(String, List)
or even
unmarshalAST2StatementBlockElement(String, List)
should be
used instead.
pTypeDeclaration
- The type declaration that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2CommonTypeDeclaration
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2VariableDeclaratorIdentifier unmarshalAST2VariableDeclaratorIdentifier(java.lang.String pVariableDeclaratorIdentifier, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
These are identifiers of type fields, local variables and formal parameters followed by 0 or more array declarators.
pVariableDeclaratorIdentifier
- The variable identifier that
should get unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2VariableDeclaratorIdentifier
. If marshalling the
code fragment has been failed but no exception has been
thrown null
will be returned and it's very
likely that there's at least one message within the message
list passed to this method (if a list has been passed at
all, of course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.AST2VariableInitializer unmarshalAST2VariableInitializer(java.lang.String pVariableInitializer, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
pVariableInitializer
- The variable initializer that should get
unmarshalled.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2VariableInitializer
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.public com.habelitz.jsobjectizer.unmarshaller.jsombridge.ast2api.statement.AST2WhileAndDoStatements unmarshalAST2WhileStatement(java.lang.String pWhileStatement, java.util.List<java.lang.String> pErrorMessages) throws JSourceUnmarshallerException
while
statement stated by a string.
pWhileStatement
- The while
statement that should
get unmarshalled. Note that the stated string
must also contain the statement following the
while
statement.pErrorMessages
- If the parser reports one or more errors it
depends on this argument what will happen. If
this argument is null
all the
error messages will be written to
System.err
. Otherwise the error
messages will be added to the given list and
each list entry will correspond to one error
line as reported by the parser.
JSOM
object of type
AST2WhileAndDoStatements
. If marshalling the code
fragment has been failed but no exception has been thrown
null
will be returned and it's very likely that
there's at least one message within the message list passed
to this method (if a list has been passed at all, of
course).
JSourceUnmarshallerException
- if marshalling the code
fragment failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


| None. |
| This line terminates a FUNCTION structure. Upon reaching this line, Blitz will branch program execution to the next command following the original call to the function. See the FUNCTION command for more information. |
|
; End Function Example
; Get the user's name name$=Input$("Enter Your Name:") ; Call a function to print how many letters the name has numletters(name$); ;The program basically ends here, because functions don't run unless called. ; The actual function Function numletters(passedname$) Print "Your name has " + Len(passedname$) + " letters in it." End Function |


Find us just south of downtown Portland, Oregon across the street from Whole Foods and next to Paadee – 1234 Burnside St SE.


-
2014-05-18 11:15:17
New version - 1.99v
Some updates
- https://github.com/LiveHelperChat/livehelperchat/issues/381
- https://github.com/LiveHelperChat/livehelperchat/issues/382
- https://github.com/LiveHelperChat/livehelperchat/issues/374
- https://github.com/LiveHelperChat/livehelperchat/issues/360
- Then user reopens chat, chat status won't be changed unless it's closed.
execute doc/update_db/update_78.sql for update and follow standard upgrade tutorial.
If you are using XMPP notifications edit xmpp notifications and in "XMPP Message about accepted chat" enter
{user_name} has accepted a chat [{chat_id}]
{messages}
{url_accept}
-
2014-05-10 18:27:15
New version - 1.98v a lot of small changes
Huge list of changes :)
- https://github.com/LiveHelperChat/livehelperchat/issues/381
- https://github.com/LiveHelperChat/livehelperchat/issues/362
- Changed map link in chat window to be compatible with new google maps version
- Referer page will open in a new window
- End range for form's module will be included in combobox also
- Pure SQL queries for performance improvement in a few places. Also implemented SQL transaction in a few places.
- Then user naviagates to another page on site to operator will be shown user status with new page.
- https://github.com/LiveHelperChat/livehelperchat/pull/380
- https://github.com/LiveHelperChat/livehelperchat/pull/373
- https://github.com/LiveHelperChat/livehelperchat/pull/379
- https://github.com/LiveHelperChat/livehelperchat/issues/375
- Fixed bug then same chat was transfred to department multiple times, but was not shown in list.
- https://github.com/LiveHelperChat/livehelperchat/pull/373
- Avoid showing widget URL instead of page url, then widget is opened.
- Now most of generic chat's list are AngujarJS based.
- Fixed bug then closing tab, tab was not removed from session and upon page refresh was still open.
- Bugfix based on https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/livehelperchat/Zh3aKnJJOnM/cki8uSL1Y7EJ
- https://github.com/LiveHelperChat/livehelperchat/issues/286 mod_security compatibility
execute doc/update_db/update_77.sql for update and follow standard upgrade tutorial.
-
2014-05-04 18:16:22
Few enhancements without required database update
I have made few minors enhancements which does not require database update. So if anyone want's to update to current github branch here is updates I have made.
-
2014-04-30 15:02:03
New version - 1.97v new module
Hi,
https://github.com/LiveHelperChat/livehelperchat/issues/363 - Foms module tutorial
https://github.com/LiveHelperChat/livehelperchat/issues/366
Also after update i suggest to operators to add these two new permissions
- lhuser - change_visibility_list (allow user to choose what lists he can see in homepage)
- lhuser - see_assigned_departments (allow user to see what departments are assigned to his account in account page)
execute doc/update_db/update_76.sql for update and follow standard upgrade tutorial.
Create a directory
var/storageform - and make it writable.
While I prepare forms module tutorial you can take a look at http://livehelperchat.com/demo-12c.html also see in back office how information is collected.
-
2014-04-20 16:24:12
AngularJS and it's first implementation in Live Helper Chat
Just wanted to inform that I have implemented AngularJS framework in online visitors list. So because of it we have few more fancy features
- Search in list
- Sort by clicking on table header column
- Less server bandwidth, only changed data is transfered on JSON, not html as before
- Faster list rendering, only updated items in list are rerendered.
Update 2014-04-21
- Chat list in right column and chat tabs, content etc. now also are AngularJS powered. So it gives us few advantages
- Less server bandwidth.
- Less server load, because server now just returns json data.
Update 2014-04-22
- Online users list now supports grouping. You can group online users by page, page title, country, identifier, referrer etc... Say thanks to AngularJS :)
Everyone who do not want to wait for a new version can update lhc from master branch now. No database update required. In the future we should migrate most of the Live Helper Chat JS to AngularJS, just step by step.


Demonstrates how to use Zapatec.Transport.fetchXmlDoc to import an XML document object from an external file on the server.


All Tags
AI
AWS
- 3 Ways to Use the Hugging Face Model in AWS
- Using Kendra to Implementing RAG in LLM
- About HardenEKS (install & custom)
- Helm Chart Repository in AWS
- SCP 알아보기
- AWS Fully Certified
- SRD Protocol 알아보기
- Automating git submodules with AWS Code Series (Build, Pipeline)
- Amazon EKS Multi Cluster Upgrade with ExternalDNS
- Using OpenAI API with AWS Lambda
- DIY Amazon EKS with eksctl
- ECS on EC2 Walkthrough
- Export cloudwatch log data to Amazon S3 using lambda
- Using the awslogs log driver in ECS(Fargate)
- Using Amazon ECS Exec for debugging
- Create Immutable Server using AWS Image Builder & Auto Scaling Group
- AWS CDK Library, Construct Hub
- My first impression of AWS Karpenter
- EC2 Clocksource
- Provision Infrastructure with Packer
- Look into EKS max pods
- ECR CodePipeline with Terraform Ⅲ
- ECR CodePipeline with Terraform Ⅱ
- ECR CodePipeline with Terraform Ⅰ
- 3-Tier VPC Architecture with Terraform
BACKEND
CONTAINER
DEVOPS
- Helm Chart Repository in AWS
- Automating git submodules with AWS Code Series (Build, Pipeline)
- Amazon EKS Multi Cluster Upgrade with ExternalDNS
- DIY Amazon EKS with eksctl
- Declarative vs Imperative in Kubernetes
- Terraform Tips 5 - Import
- Terraform Tips 4 - Move (Refactoring)
- Terraform Tips 3 - Refresh & Replace
- Using the awslogs log driver in ECS(Fargate)
- Using Amazon ECS Exec for debugging
- Create Immutable Server using AWS Image Builder & Auto Scaling Group
- Terraform Tips 2 - Data & Index
- Terraform Tips 1 - Module & Output
- Self-service Infrastructure
- Provision Infrastructure with Packer
- Look into EKS max pods
- ECR CodePipeline with Terraform Ⅲ
- ECR CodePipeline with Terraform Ⅱ
- ECR CodePipeline with Terraform Ⅰ
- 3-Tier VPC Architecture with Terraform
EKS
EXTRACURRICULAR
GCP
GENAI
HUGGINGFACE
NETWORK
PROGRAMMING
SECURITY
SERVERLESS
TERRAFORM
- Terraform Tips 5 - Import
- Terraform Tips 4 - Move (Refactoring)
- Terraform Tips 3 - Refresh & Replace
- Terraform Tips 2 - Data & Index
- Terraform Tips 1 - Module & Output
- ECR CodePipeline with Terraform Ⅲ
- ECR CodePipeline with Terraform Ⅱ
- ECR CodePipeline with Terraform Ⅰ
- 3-Tier VPC Architecture with Terraform


Add a Proxy on localhost in the settings of your browser. Then you can start OWASP ZAP/WebScarab. We have to select "intercept request" in the tab "Intercept".
Fill out your name and click the button Go! We get a new WebScarab window, where we can find the parameter person.


WITNESS LIST Agriculture & Livestock Committee April 25, 2006-1:00P Charge #1 On: Mathews, Lee (Texas Board of Veterinary Medical Examiners) Sheppard, Dr. Guy (Texas Veterinary Medical Association) Charge #2 On: Mathews, Lee (Texas Board of Veterinary Medical Examiners) Sheppard, Dr. Guy (Texas Veterinary Medical Association) Charge #5 On: Gayle, Lelve (Texas Veterinary Medical Diagnostic Laboratory) Hull, James (Texas Forest Service) Mathews, Lee (Texas Board of Veterinary Medical Examiners) Stone, Charles (Charlie) (Office of Rural Community Affairs) Walton, Murray (Texas Structural Pest Control Board)


 For nearly 100 years, Planned Parenthood has promoted a commonsense approach to women’s health and well-being, based on respect for each individual’s right to make informed, independent decisions about health, sex, and family planning. Learn more.
It's money that the federal government gives each state to provide family planning health care services to people who cannot otherwise afford it. The Title X funding that was allotted to Planned Parenthood was use for: cancer screenings, birth control, contraceptions, contraceptive counseling, STI screenings and STI treatment. 91% of clients of Title X centers had incomes at or below 250% of the federal poverty level.
According to the Hyde Amendment of 1976 no federal or state funds can be used for abortions except in cases of incest, rape or saving the life of the mother.
Ask them.
If it is, it doesn’t make sense. See below.
Yes. Roe v. Wade, 410 U.S. 113 (1973).
No. They are a healthcare clinic. 97% of their work is health education, reproductive health care, STI and cancer screenings, contraceptives, and family planning.
No. Neither do any other states in the Planned Parenthood Northern New England region.
Yes.
Back to the federal government until the NH Executive Council takes further action. In other words, TBD.
We're glad you asked. Take a look below for a list of action items.
District 3
District 1
District 5
Councilor Chris Sununu (who represents the Seacoast disctrict of NH), one of the three councilors who voted in favor of rejecting the funds, stated, "In my district — I represent about a quarter-million people — Planned Parenthood is the only option." He said this after he voted to reject federal funding for these services.
NH Executive Council votes 3-2 to defund Planned Parenthood.
Polling shows that 63% of NH disagrees with the decision to defund.
Election to vote for the next 5 NH Executive Councilors
District 2
District 4
What about Governor Maggie Hassan?
Governor Hassan supports funding Planned Parenthood.
Read her official statement after the Executive Council defunded PP:


Issue diagnosis verification code
Complete the following form to issue a single-use token to verify a patient. Do not submit this form until you are prepared to relay the code to the patient.
{{/* Calculate the column width based on the number of expected choices */}} {{$colWidth := 12}} {{if $currentRealm.ValidTestType "negative"}} {{$colWidth = 4}} {{else if $currentRealm.ValidTestType "likely" }} {{$colWidth = 6}} {{end}}Generated code
Share the follow code with the patient immediately. This code expires at .
Track the status of this code with the following ID:
You may use this to see if the patient has successfully claimed their code.


LaunchOptionsSet
public struct LaunchOptionsSet
Set for LaunchOption objects, using uniqueIdentifier
property for hashing and comparison.
-
Create empty option set.
Declaration
Swift
public init()
-
Declaration
Swift
public typealias Element = LaunchOption
-
Checks if set contains given element.
Declaration
Swift
public func contains(_ member: LaunchOption) -> Bool
Parameters
member
Element to search for
Return Value
Boolean value indicating whether set contains given element.
-
Inserts the given element in the set if it is not already present.
Declaration
Swift
public mutating func insert(_ newMember: LaunchOption) -> (inserted: Bool, memberAfterInsert: LaunchOption)
Parameters
newMember
An element to insert into the set.
Return Value
(true, newMember)
ifnewMember
was not contained in the set. -
Inserts the given element into the set unconditionally.
Declaration
Swift
public mutating func update(with newMember: LaunchOption) -> LaunchOption?
Parameters
newMember
An element to insert into the set.
Return Value
For ordinary sets, an element equal to
newMember
if the set already contained such a member; otherwise,nil
. -
Performs XOR operation.
Declaration
Swift
public func symmetricDifference(_ other: LaunchOptionsSet) -> LaunchOptionsSet
Parameters
other
Set to combine with.
Return Value
Result of the operation.
-
Performs XOR operation.
Declaration
Swift
public mutating func formSymmetricDifference(_ other: LaunchOptionsSet)
Parameters
other
Set to combine with.
-
Remove element from set.
Declaration
Swift
public mutating func remove(_ member: LaunchOption) -> LaunchOption?
Parameters
member
Element to remove.
Return Value
Removed element (or nil if it didn’t exist).
-
Performs AND operation.
Declaration
Swift
public func intersection(_ other: LaunchOptionsSet) -> LaunchOptionsSet
Parameters
other
Set to combine with.
Return Value
Result of the operation.
-
Performs AND operation.
Declaration
Swift
public mutating func formIntersection(_ other: LaunchOptionsSet)
Parameters
other
Set to combine with.
-
Performs OR operation.
Declaration
Swift
public func union(_ other: LaunchOptionsSet) -> LaunchOptionsSet
Parameters
other
Set to combine with.
Return Value
Result of the operation.
-
Performs OR operation.
Declaration
Swift
public mutating func formUnion(_ other: LaunchOptionsSet)
Parameters
other
Set to combine with.
-
Declaration
Swift
public typealias Iterator = IndexingIterator<[LaunchOption]>
-
Creates generator for collection.
Declaration
Swift
public func makeIterator() -> Iterator
Return Value
Generator to walk over elements of the set.


| File: | local/lib/perl5/File/HomeDir/Driver.pm |
| Coverage: | 89.5% |
| line | stmt | bran | cond | sub | time | code |
|---|---|---|---|---|---|---|
| 1 | package File::HomeDir::Driver; | |||||
| 2 | ||||||
| 3 | # Abstract base class that provides no functionality, | |||||
| 4 | # but confirms the class is a File::HomeDir driver class. | |||||
| 5 | ||||||
| 6 | 2 2 | 14 2 | use 5.00503; | |||
| 7 | 2 2 2 | 4 0 19 | use strict; | |||
| 8 | 2 2 2 | 3 2 13 | use Carp (); | |||
| 9 | ||||||
| 10 | 2 2 2 | 2 2 40 | use vars qw{$VERSION}; | |||
| 11 | BEGIN { | |||||
| 12 | 2 | 56 | $VERSION = '1.00'; | |||
| 13 | } | |||||
| 14 | ||||||
| 15 | sub my_home { | |||||
| 16 | 0 | Carp::croak("$_[0] does not implement compulsory method $_[1]"); | ||||
| 17 | } | |||||
| 18 | ||||||
| 19 | 1; | |||||
| 20 | ||||||
| 21 - 54 | =pod =head1 NAME File::HomeDir::Driver - Base class for all File::HomeDir drivers =head1 DESCRIPTION This module is the base class for all L<File::HomeDir> drivers, and must be inherited from to identify a class as a driver. It is primarily provided as a convenience for this specific identification purpose, as L<File::HomeDir> supports the specification of custom drivers and an C<-E<gt>isa> check is used during the loading of the driver. =head1 AUTHOR Adam Kennedy<EMAIL_ADDRESS>=head1 SEE ALSO L<File::HomeDir> =head1 COPYRIGHT Copyright 2009 - 2011 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. =cut |


Class: Sketchup::RenderingOptions
| Relationships | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Entity
|
|
|
Instance Chain:
self,
Enumerable,
Entity
|
|
| Inherits: |
Sketchup::Entity
|
Overview
The RenderingOptions class contains method to extract the rendering information for a model. The majority of the rendering information returned exists in the Styles
dialog. The following rendering information keys are maintained in SketchUp:
-
BackgroundColor
-
BandColor
-
ConstructionColor
-
DepthQueWidth
-
DisplayColorByLayer
-
DisplayFog
-
DisplayInstanceAxes
-
DisplayWatermarks
-
DrawDepthQue
-
DrawGround
-
DrawHidden
-
DrawHorizon
-
DrawLineEnds
-
DrawProfilesOnly
-
DrawSilhouettes
-
DrawUnderground
-
EdgeColorMode
-
EdgeDisplayMode
-
EdgeType
-
ExtendLines
-
FaceBackColor
-
FaceFrontColor
-
FogColor
-
FogEndDist
-
FogStartDist
-
FogUseBkColor
-
ForegroundColor
-
GroundColor
-
GroundTransparency
-
HideConstructionGeometry
-
HighlightColor
-
HorizonColor
-
InactiveHidden
-
InstanceHidden
-
JitterEdges
-
LineEndWidth
-
LineExtension
-
LockedColor
-
MaterialTransparency
-
ModelTransparency
-
RenderMode
-
SectionActiveColor
-
SectionCutWidth
-
SectionDefaultCutColor
-
SectionInactiveColor
-
ShowViewName
-
SilhouetteWidth
-
SkyColor
-
Texture
-
TransparencySort
SketchUp 2017 treats Medium transparency as Faster.
Added in SketchUp 7:
-
DisplayDims
-
DisplaySketchAxes
-
DisplayText
Added in SketchUp 8:
-
InactiveFade
-
InstanceFade
Added in SketchUp 2014:
-
DisplaySectionPlanes
Added in SketchUp 2015:
-
DisplaySectionCuts
-
DrawBackEdges
-
SectionCutDrawEdges
Added in SketchUp 2018:
-
SectionCutFilled
-
SectionDefaultFillColor
Removed in SketchUp 2019.1
-
FaceColorMode
This option was previously included but it was ineffective.
Added in SketchUp 2020.0:
-
ROPDrawHiddenGeometry
-
ROPDrawHiddenObjects
Constant Summary
-
ROPAssign =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 97
Constants
nil
-
ROPDrawHidden =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 98
Stub value.
nil
-
ROPDrawHiddenGeometry =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 99
Stub value.
nil
-
ROPDrawHiddenObjects =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 100
Stub value.
nil
-
ROPEditComponent =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 101
Stub value.
nil
-
ROPSectionDisplayTurnedOff =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 102
Stub value.
nil
-
ROPSetBackgroundColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 103
Stub value.
nil
-
ROPSetConstructionColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 104
Stub value.
nil
-
ROPSetDepthQueEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 105
Stub value.
nil
-
ROPSetDepthQueWidth =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 106
Stub value.
nil
-
ROPSetDisplayColorByLayer =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 107
Stub value.
nil
-
ROPSetDisplayDims =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 108
Stub value.
nil
-
ROPSetDisplayFog =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 109
Stub value.
nil
-
ROPSetDisplayInstanceAxes =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 110
Stub value.
nil
-
ROPSetDisplaySketchAxes =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 111
Stub value.
nil
-
ROPSetDisplayText =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 112
Stub value.
nil
-
ROPSetDisplayWatermarks =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 113
Stub value.
nil
-
ROPSetDrawBackEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 114
Stub value.
nil
-
ROPSetDrawGround =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 115
Stub value.
nil
-
ROPSetDrawHorizon =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 116
Stub value.
nil
-
ROPSetDrawUnderground =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 117
Stub value.
nil
-
ROPSetEdgeColorMode =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 118
Stub value.
nil
-
ROPSetEdgeDisplayMode =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 119
Stub value.
nil
-
ROPSetEdgeType =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 120
Stub value.
nil
-
ROPSetExtendEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 121
Stub value.
nil
-
ROPSetExtendLines =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 122
Stub value.
nil
-
ROPSetFaceColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 123
Stub value.
nil
-
ROPSetFaceColorMode =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 124
Stub value.
nil
-
ROPSetFogColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 125
Stub value.
nil
-
ROPSetFogDist =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 126
Stub value.
nil
-
ROPSetFogHint =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 127
Stub value.
nil
-
ROPSetFogUseBkColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 128
Stub value.
nil
-
ROPSetForegroundColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 129
Stub value.
nil
-
ROPSetGroundColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 130
Stub value.
nil
-
ROPSetGroundTransparency =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 131
Stub value.
nil
-
ROPSetHideConstructionGeometry =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 132
Stub value.
nil
-
ROPSetHighlightColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 133
Stub value.
nil
-
ROPSetHorizonColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 134
Stub value.
nil
-
ROPSetJitterEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 135
Stub value.
nil
-
ROPSetLineEndEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 136
Stub value.
nil
-
ROPSetLineEndWidth =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 137
Stub value.
nil
-
ROPSetLineExtension =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 138
Stub value.
nil
-
ROPSetLineStyleEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 139
Stub value.
nil
-
ROPSetLockedColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 140
Stub value.
nil
-
ROPSetMaterialTransparency =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 141
Stub value.
nil
-
ROPSetModelTransparency =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 142
Stub value.
nil
-
ROPSetPhotomatchBackgroundOpacity =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 143
Stub value.
nil
-
ROPSetPhotomatchDrawBackground =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 144
Stub value.
nil
-
ROPSetPhotomatchDrawOverlay =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 145
Stub value.
nil
-
ROPSetPhotomatchOverlayOpacity =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 146
Stub value.
nil
-
ROPSetProfileEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 147
Stub value.
nil
-
ROPSetProfileWidth =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 148
Stub value.
nil
-
ROPSetProfilesOnlyEdges =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 149
Stub value.
nil
-
ROPSetRenderMode =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 150
Stub value.
nil
-
ROPSetSectionActiveColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 151
Stub value.
nil
-
ROPSetSectionCutFilled =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 152
Stub value.
nil
-
ROPSetSectionCutWidth =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 153
Stub value.
nil
-
ROPSetSectionDefaultCutColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 154
Stub value.
nil
-
ROPSetSectionDefaultFillColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 155
Stub value.
nil
-
ROPSetSectionDisplayMode =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 156
Stub value.
nil
-
ROPSetSectionInactiveColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 157
Stub value.
nil
-
ROPSetSkyColor =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 158
Stub value.
nil
-
ROPSetTexture =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 159
Stub value.
nil
-
ROPSetTransparencyObsolete =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 160
Stub value.
nil
-
ROPSetXRayOpacity =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 161
Stub value.
nil
-
ROPTransparencySortMethod =
# File 'lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb', line 162
Stub value.
nil
Class Method Summary
-
.each_key {|key| ... } ⇒ nil
The #each_key method iterates through all of the rendering options keys.
-
.keys ⇒ Array<String>
The keys method returns an array with all of the attribute keys.
Instance Attribute Summary
Entity
- Inherited
Instance Method Summary
-
#[](key) ⇒ Object?
The #[] method is used to get the value of a rendering option.
-
#[]=(key, value) ⇒ Object
The set value []= method is used to set the value in the array of rendering options.
-
#add_observer(observer) ⇒ Boolean
The add_observer method is used to add an observer to the current object.
-
#count ⇒ Integer
The #count method is inherited from the
Enumerable
mix-in module. -
#each {|key, value| ... } ⇒ nil
The #each method iterates through all of the rendering options key/value pairs.
-
#each_key {|key| ... } ⇒ nil
The #each_key method iterates through all of the rendering options keys.
-
#each_pair ⇒ nil
The #each_pair method is an alias for #each.
-
#keys ⇒ Array<String>
The keys method returns an array with all of the attribute keys.
-
#length ⇒ Integer
The #length method returns the number of options in the rendering options collection.
-
#remove_observer(observer) ⇒ Boolean
The remove_observer method is used to remove an observer from the current object.
- #size ⇒ Integer
Entity
- Inherited
| #add_observer | The add_observer method is used to add an observer to the current object. |
| #attribute_dictionaries | The attribute_dictionaries method is used to retrieve the |
| #attribute_dictionary | The attribute_dictionary method is used to retrieve an attribute dictionary with a given name that is attached to an |
| #delete_attribute | The |
| #entityID | The entityID method is used to retrieve a unique ID assigned to an entity. |
| #get_attribute | The |
| #inspect | The to_s method is used to retrieve the string representation of the entity. |
| #model | The model method is used to retrieve the model for the entity. |
| #parent | The parent method is used to retrieve the parent of the entity. |
| #persistent_id | The |
| #remove_observer | The remove_observer method is used to remove an observer from the current object. |
| #set_attribute | The set attribute is used to set the value of an attribute in an attribute dictionary with the given name. |
| #to_s | The to_s method is used to retrieve the string representation of the entity. |
| #typename | The typename method retrieves the type of the entity, which will be a string such as “Face”, “Edge”, or “Group”. |
Class Method Details
.each_key {|key| ... } ⇒ nil
The #each_key method iterates through all of the rendering options keys.
.keys ⇒ Array<String>
The keys method returns an array with all of the attribute keys.
Instance Method Details
#[](key) ⇒ Object
?
The #[]
method is used to get the value of a rendering option.
#[]=(key, value) ⇒ Object
The set value []= method is used to set the value in the array of rendering options.
#add_observer(observer) ⇒ Boolean
The add_observer method is used to add an observer to the current object.
#count ⇒ Integer
The #count
method is inherited from the Enumerable
mix-in module.
#each {|key, value| ... } ⇒ nil
The #each
method iterates through all of the rendering options key/value pairs.
#each_key {|key| ... } ⇒ nil
The #each_key
method iterates through all of the rendering options keys.
#each_pair ⇒ nil
The #each_pair
method is an alias for #each.
#keys ⇒ Array<String>
The keys method returns an array with all of the attribute keys.
#length ⇒ Integer
The #length
method returns the number of options in the rendering options collection.
#remove_observer(observer) ⇒ Boolean
The remove_observer method is used to remove an observer from the current object.
#size ⇒ Integer
The #size
method is an alias for #length.


calc_net_sentiment_per_tag.Rd
For a given text and class, calculate indicators of "net positive" and "net negative" sentiment using different sentiment dictionaries.
calc_net_sentiment_per_tag(x, target_col_name = NULL, text_col_name)
| x | A data frame with two columns: the column with the classes; and the column with the text. Any other columns will be ignored. |
|---|---|
| target_col_name | A string with the column name of the target variable.
Defaults to |
| text_col_name | A string with the column name of the text variable. |
A data frame with four or five columns: the column with the classes (if any); the net sentiment; the method (dictionary) used; the total negative sentiment; and the total positive sentiment. The last two columns are NA for AFINN (see Note).
The dictionaries of Minging and Liu (2004) and Mohammad and Turney (2013; known as NRC) assign sentiment characterizations to words, e.g. "negative" or "positive". The "net" sentiment is therefore calculated as "sum of words with a positive sentiment minus sum of words with a negative sentiment". On the other hand, AFINN, the dictionary of Nielsen (2013), works with sentiment scores and so the net sentiment is their sum. See Silge and Robinson (2017).
Hu M. & Liu B. (2004). Mining and summarizing customer
reviews. Proceedings of the ACM SIGKDD International Conference on
Knowledge Discovery & Data Mining (KDD-2004), Seattle, Washington, USA,
Aug 22-25, 2004.
Mohammad S.M. & Turney P.D. (2013). Crowdsourcing a Word–Emotion
Association Lexicon. Computational Intelligence, 29(3):436-465.
Nielsen F.A. (2013). A new ANEW: Evaluation of a word list for
sentiment analysis in microblogs. Proceedings of the ESWC2011 Workshop
on 'Making Sense of Microposts': Big things come in small packages 718
in CEUR Workshop Proceedings 93-98. https://arxiv.org/abs/1103.2903.
Silge J. & Robinson D. (2017). Text Mining with R: A Tidy Approach.
Sebastopol, CA: O’Reilly Media. ISBN 978-1-491-98165-8.
library(experienceAnalysis) books <- janeaustenr::austen_books() # Jane Austen books emma <- paste(books[books$book == "Emma", ], collapse = " ") # String with whole book pp <- paste(books[books$book == "Pride & Prejudice", ], collapse = " ") # String with whole book # Make data frame with books Emma and Pride & Prejudice x <- data.frame( text = c(emma, pp), book = c("Emma", "Pride & Prejudice") ) # Net sentiment in each book for each dictionary, sorted in descending order calc_net_sentiment_per_tag(x, target_col_name = "book", text_col_name = "text")#> # A tibble: 6 x 5 #> book sentiment method negative positive #> <chr> <dbl> <chr> <dbl> <dbl> #> 1 Emma 5837 AFINN NA NA #> 2 Pride & Prejudice 3955 AFINN NA NA #> 3 Emma 2348 Minging & Liu 4809 7157 #> 4 Emma 4998 NRC 4473 9471 #> 5 Pride & Prejudice 1400 Minging & Liu 3652 5052 #> 6 Pride & Prejudice 3802 NRC 3641 7443# Net sentiment in each book for each dictionary, by dictionary and book name calc_net_sentiment_per_tag(x, target_col_name = "book", text_col_name = "text") %>% dplyr::arrange(method, book)#> # A tibble: 6 x 5 #> book sentiment method negative positive #> <chr> <dbl> <chr> <dbl> <dbl> #> 1 Emma 5837 AFINN NA NA #> 2 Pride & Prejudice 3955 AFINN NA NA #> 3 Emma 2348 Minging & Liu 4809 7157 #> 4 Pride & Prejudice 1400 Minging & Liu 3652 5052 #> 5 Emma 4998 NRC 4473 9471 #> 6 Pride & Prejudice 3802 NRC 3641 7443


Class vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery
| Inheritance | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery » yii\db\ActiveQuery |
|---|
ClosureTableBehavior class file.
Provides tree set functionality for a model.
Public Properties
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Constructor. | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| ancestorsOf() | Named scope. Gets ancestors for node. | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| childrenOf() | Named scope. Gets children for node (direct descendants only). | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| descendantsOf() | Named scope. Finds descendants | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| parentOf() | Named scope. Gets parent for node. | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| pathOf() | Named scope. Gets path to the node. | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| roots() | Finds roots | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
| siblingsOf() | Named scope. Get siblings | vendor\aidask\ClosureTableActiveRecordTrait\ClosureTableQuery |
Property Details
Method Details
Constructor.
| void __construct( $modelClass, $config = [] ) | ||
| $modelClass | array | The model class associated with this query |
| $config | array | Configurations to be applied to the newly created query object |
Named scope. Gets ancestors for node.
| \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery ancestorsOf( $primaryKey, $depth = null ) | ||
| $primaryKey | int|string | |
| $depth | ||
| return | \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery | The ancestors |
|---|
Named scope. Gets children for node (direct descendants only).
| \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery childrenOf( $primaryKey ) | ||
| $primaryKey | int|string | |
| return | \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery | The owner. |
|---|
Named scope. Finds descendants
| \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery descendantsOf( $primaryKey, $depth = null ) | ||
| $primaryKey | ||
| $depth | int | The depth. |
| return | \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery | The owner. |
|---|
Named scope. Gets parent for node.
| \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery parentOf( $primaryKey ) | ||
| $primaryKey | int|string | |
| return | \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery | The parent |
|---|
Named scope. Gets path to the node.
| \vendor\aidask\ClosureTableActiveRecordTrait\CActiveRecord pathOf( $primaryKey ) | ||
| $primaryKey | int|string | Primary key |
| return | \vendor\aidask\ClosureTableActiveRecordTrait\CActiveRecord | The owner. |
|---|
Finds roots
| \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery roots( ) | ||
| return | \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery | The owner. |
|---|
Named scope. Get siblings
| \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery siblingsOf( $primaryKey, $include = FALSE ) | ||
| $primaryKey | int|string | |
| $include | boolean | Whether or not to include the node or not |
| return | \vendor\aidask\ClosureTableActiveRecordTrait\ActiveQuery | The owner. |
|---|