com.wewebu.expression.language
Class OwExprBooleanLiteral

java.lang.Object
  extended by com.wewebu.expression.language.OwExprExpression
      extended by com.wewebu.expression.language.OwExprLiteral
          extended by com.wewebu.expression.language.OwExprBooleanLiteral
All Implemented Interfaces:
OwExprPrimaryPrefix

public class OwExprBooleanLiteral
extends OwExprLiteral

A fixed boolean value (one of true of false):
true!=false

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
 
Fields inherited from class com.wewebu.expression.language.OwExprLiteral
m_symbol
 
Fields inherited from class com.wewebu.expression.language.OwExprExpression
m_errorTable, m_symbolTable, m_typeError
 
Method Summary
static OwExprBooleanLiteral instance(boolean booleanValue_p, OwExprSymbolTable symbolTable_p, OwExprErrorTable errorTable_p)
          Single TRUE or FALSE symbol literal creator.
 
Methods inherited from class com.wewebu.expression.language.OwExprLiteral
evaluate, expression, getValue, regressToFunction, regressToPorperty, regressToScope, symbolInstance, toString, type
 
Methods inherited from class com.wewebu.expression.language.OwExprExpression
errCount, evaluate, evaluate, getErrorTable, getSymbol, getSymbolTable, hasErrors, initType, symbolsVisibleInScopes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

instance

public static final OwExprBooleanLiteral instance(boolean booleanValue_p,
                                                  OwExprSymbolTable symbolTable_p,
                                                  OwExprErrorTable errorTable_p)
                                           throws ParseException
Single TRUE or FALSE symbol literal creator. This method will return instances of OwExprBooleanLiteral based on one of the instances of the true or false symbols in the symbol table.

Parameters:
booleanValue_p -
symbolTable_p - global symbol table
errorTable_p - global error table
Returns:
a single symbol based literal instance creator.
Throws:
ParseException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.