Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.

 

Package: com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.dup  previous next contents

Package com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.dup contains the following classes and interfaces.
Classes and Interfaces
DupDirectiveNode Parse node that represents a DUP SC directive.
DupDirectiveParser Parses a DUP SC directive.

Class: DupDirectiveNode   next package

Parse node that represents a DUP SC directive.
Treat this class as "thread-hostile" since it holds substantial state without method synchronization; instances should only be used by single thread at a time.

public class com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.dup.DupDirectiveNode
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveNode
Constructors
Initializes an instance of this class.
Parameters:
aHostLine - Mapper report line that hosts this command
aRepeatExpr - repeat count as concatenation expression from DUP directive; if DUP directive omits the count, a default is passed to this argument; must never be NULL.
public DupDirectiveNode(com.arsi.mj.maprpt.parser.line.types.AtLine aHostLine, com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr aRepeatExpr)
Methods
Get repeat count as concatenation expression.
Returns:
concatenation expression that can be expected to contain a single variable reference or literal to use as a repetition count.
public final com.arsi.mj.maprpt.lexer.ptree.expr.ConcatExpr getRepeat()

Class: DupDirectiveParser   previous package

Parses a DUP SC directive.
Treat this class as "thread-hostile"; instances should be created, used and discarded by single thread at a time.

public class com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.dup.DupDirectiveParser
  extends com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveParserBase
  implements com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.IScDirectiveParser
Constructors
public DupDirectiveParser()
Methods
public com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveParseResult parseDirective(com.arsi.mj.maprpt.lexer.tokens.IMaprptToken anInitialToken, com.arsi.mj.maprpt.lexer.ptree.cmd.sc.directive.ScDirectiveLexer aLexer, org.springframework.context.ApplicationContext anAppCtx)
    throws com.arsi.mj.MJTranslateException