Examples of ScannerSpecNode


Examples of at.ssw.coco.lib.model.atgAst.nodeTypes.ScannerSpecNode

  }
 
  @Test
  public void testScannerSpecNode() {
    //ScannerSpecNode
    ScannerSpecNode scannerSpecNode = root.getCompilerNode().getScannerSpecNode();
    checkNode(scannerSpecNode, 127, 321, root.getCompilerNode());
   
    //IgnoreCaseFlag
    assertTrue(scannerSpecNode.isIgnoreCase());

    //Children Nodes
    assertNotNull(scannerSpecNode.getSetDeclNodes());
    assertFalse(scannerSpecNode.getSetDeclNodes().isEmpty());
   
    assertNotNull(scannerSpecNode.getTokenDeclNodes());
    assertFalse(scannerSpecNode.getTokenDeclNodes().isEmpty());
   
    assertNotNull(scannerSpecNode.getPragmaDeclNodes());
    assertFalse(scannerSpecNode.getPragmaDeclNodes().isEmpty());   
   
    assertNotNull(scannerSpecNode.getCommentDeclNodes());
    assertFalse(scannerSpecNode.getCommentDeclNodes().isEmpty());
   
    assertNotNull(scannerSpecNode.getWhiteSpaceDeclNodes());
    assertFalse(scannerSpecNode.getWhiteSpaceDeclNodes().isEmpty());   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.